If you have finished SSH , you can use escape sequences. For example, to send a break, press:
enter , ~ and B
"enter", of course, is not typed, just press the enter key (I assume that "reset" the current command buffer)
Other interesting
Log out timeout session
enter , ~ and .
Send escape character
enter , ~ and ~
You can list these commands with
enter , ~ and ?
On my system, the above prints:
source share