exit — Logout and end a command-line session.
exit
Logs out and ends a command-line telnet session.
The exit command is synonymous with the quit.