@moonman whichever variant of the following works (in order):
:wq
:wq!
:q
:q!