Margin is used for trading, and what suits you is yours. Futures companies have no right to confiscate and detain. After closing the position, the deposit will automatically return to your account. If a futures company collects or detains it, don't hesitate to complain directly to the futures industry association. The margin trading mechanism in the futures market has its own leverage. The higher the margin, the smaller the leverage, the lower the margin and the greater the leverage.
I hope I can help you.