1. Stop currently running command: Ctrl+Z
2. Move stopped process to background by typing command: bg
3. To make sure command will run after you close the ssh session execute command: disown -h
Now you can exit ssh and next time you login you can reconnect and connect to process with reptyr process_id_here
Note: You should only use the above if you already have started a process and been waiting on it and now you have to leave/close up your laptop. Otherwise use the screen tool.