To close your trading account, you must ensure you no longer own any company shares. Withdraw all the funds from your Revolut 'Stocks' account and click on the three dots where is the 'Close trading account' button.