As it is already built in and done automatically
exit
press the 'x' in the corner. Type in the word exit.
Type exit to close the Command Prompt window, or click the red X in the corner. To shut down your computer, type shutdown -s
Use Tab to position over the EXIT or QUIT spot and press ENTER.
Alt+F4 in all applications in some operating systems work as a exit shortcut.
Use "exit" command.
Use "exit" command..
Use "prompt $p$g" command.
The Exit option. Click on the X in the top corner or press the Alt - F4 key combination.
Type exit to leave a terminal.
I would try 'exit'.
exit