When you closing the bot , there will be 2 option, to sell the remaining token or not. You choose not to sell the token, so some portion of your investment are still in token form + several usdt.
When you start your bot with 200 usdt, the bot will adjust this 200 usdt to put on the orders and some of them being kept for reserve purposes. After this reserve purposes is no longer needed, you can take this portion of fund along with some of grid profit that already made by the bot using release profit.
After you release profit, the fund inside the bot is reduced since you already taken some portion of it, so the bot keep running with the remaining fund.
And last, you close the bot, so you’ll take all the remaining fund along with the profit made since your latest release profit