CTRL-Z and fg

CTRL-Z will suspend your session.
You can then use the shell to perform any necessary tasks.
Resume your vim sessions with fg

Further Reading

:h CTRL-Z

More Gifs