keyboard shortcut to quit 'telnet'

Solution 1:

ctrl+] is an escape sequence that puts telnet into command mode, it doesn't terminate the session. If you type close after hitting ctrl+], that will "close" the telnet session.

Solution 2:

on German keyboards the following keystrokes will help

CTRL + +

or rather

Strg + +

Solution 3:

You can use the 'quit' command, or abbreviate it to just 'q' if you like.

Solution 4:

The solution worked for me is

CTRL $

Then after when you will be in telnet invite type

quit 

then enter to exit from telnet and return to your DOS invite

Solution 5:

I'm not terribly familiar with Windows telnet, but local behavior on non-Windows boxes using telnet is a combination of the telnet state and that of the terminal or enclosing window and shell. (If your remote connection has changed the echo mode, font color, interrupt status, and etc, killing telnet has no effect on that local status.)

Does Windows have similar local status? (I assume so, or most text editors and many other programs wouldn't work in telnet windows.)

For Unix, the typical sequence was Ctrl]quitreturnstty sanereturn to get local control and tty sanity. What's the Windows equivalent of "tty sane"?