Ctrl-W will close your window on Windows and end the program if it’s the only window open.

[dead]