'Alt-F4' is your friend
Since the days of Windows 1.0, Alt-F4 is the universal "Exit" keystroke command. It works (still!!!) for virtually any Windows program, including the Metro-style Apps in Win8. Definitely one of the 2 or 3 keystrokes worth knowing. F1 for "Help" and Ctrl-Z for "Undo" are a couple of others that are almost universal. No need to hunt for the right area of the Ribbon to get these jobs done!