If you happen to be a few sessions deep, ~~ will send ~ to the next session along. A casual ~~~~~~~~~~~. or so later and everything is wonderful again!
(This does not refer to the Unix version of telnet, which defaults to ^] as the default escape character.)