The easiest way to do it is to right-click the app's icon on the Dock, then click the "Quit" button. The Santa hat should be ...