quit

Terminate telnet session.

syntax:

quit

example:

quit

Connection closed by foreign host.