On Windows, I had to press Ctrl+c first and then do the standard Vim editor actions like i to enter into insert mode and then Escape+ :wq to close the editor.
Ctrl+c
i
Escape
:wq