:wq to write and quit.
Except now I see a
Command Line at the bottom and nothing I do makes
vi respond (Enter, Esc, Ctrl+c, :, q, etc.). How do I get back to civilisation from here? If you can save my file at the same time, bonus! Otherwise, I'll try editing it again... if I can ever exit!