Stop command in discord.js

How can i make a stop command that stop my bot, without rebooting it?

In Glitch, your project runs forever until there’re no requests been in a while.

However, you can make a Boolean variable, which you can use to determine whether your application would start or not.