To reset your session(s) on any terminal server, SSH into that server and execute the following command:
kill -9 -1
This will terminate all processes owned by you on that server. This is also useful in case you have some rogue processes running you are not sure how to terminate.
Please note that this will also terminate your SSH session!