In the Terminal window, click on the trade tab and highlight your open position. Double click on it and the new order window will appear.
Choose the size you wish to close, then click on the yellow button below 'Sell' and 'Buy' to close out a position.