Telnet - How Do I End a Telnet Session (Windows, Linux, Mac)
Question: How do I close a telnet session/window?
This article assumes that you've started a telnet connection through the Windows command prompt (you can do so by typing: "telnet address port").
Answer: To end your current telnet session you must reach the telnet prompt and type quit.
Here are the steps for doing so:
1. Open the telnet prompt by holding down the 'Ctrl' key and push the ']' key. (prompt: Microsoft Telnet>)
2. Type quit.
3. Push the 'Enter' key.
You can change this default telnet prompt key by starting telnet like this:
telnet –e p 192.168.1.81 (this will change the telnet prompt key to lowercase 'p')