Command Q is the shortcut for quitting an application on a Mac. To use it, simply press Command + Q on your keyboard.