You telnet an ip, port but you cannot get out? Ctrl+C doesn’t work, Esc doesn’t work !
Duh, Ctrl+C, Esc are the commands sent directly to the ip, port you just telnet-ed, so telnet doesn’t see them at all !
For this you need to return back to telnet prompt, so hit
Ctrl+] (yes, Ctrl and right square bracket)
telnet> quit
Connection closed.
Hope this helps