Is there a tool to save a snapshot terminal session for later recovery, like a virtual machine?
Have you tried using screen ?

With screen you can disconnect from the terminal and then reconnect to it later.