When using vim from the command line, you can suspend vim and get back to your prompt, without actually quitting vim. Hence you will later be able to get back your vim session from the same prompt.
When in Normal mode (if not, press esc to get there), issue either of these commands:
:stenter
:s...