Go to the Open Positions section in the trading interface.
Select the position you want to close.
Click the Close button next to the position.
Confirm the closure in the pop-up dialog.
The position will be closed, and the realized profit or loss will be reflected in your account balance.