April 17, 2013, 11:09 AM — Here's how you can close an application with a keyboard shortcut in OS X.
1. Use Command-W to close an open application window.
2. Use Option-Command-W to close all windows for an application.
For more, see the original article at the link below.