If the bot is enabled, when you click the Stop button, the bot will go to the Waiting for Shutdown state. In this state, the bot will wait for the execution of the take-profit order, which will complete the current active cycle, after which the bot will stop.
To cancel the Waiting for Shutdown state, click the Start button and the state will be reset.