Solution A – GUI + keyboard
If your a keyboard shortcut fan, you may have already known that Alt+F4 closes the currently selected Windows application.
When your desktop is selected, it stands to reason that typing Alt+F4 has the effect of telling Windows that you’d like to close Windows itself. Simple and easy to remember.
Solution B – Command Prompt
NOTE: Because of the 0 second delay you specified, you'll want to be very sure you really intend to do this immediately, before you press that Enter key!