Answer
After closing the arbitrage bot, the fund will automatically transferred into your spot account. You dont have to worry about transferring it manually. You start with fund in spot wallet, and after stopping you also get that fund in the spot wallet.