Adding an exit button

Is it possible to add an exit button? I searched on google but I couldn’t find anything.

No you can’t.