If you're in developer mode, you can open a shell and kill the ssh process.
kill `ps -u chronos | grep ssh | cut --characters=1-6`
(Assuming you only have 1 ssh session open)
This is nicer than closing the window if you're using panelize and want to keep a shell panel open.