Select App Name > Quit App from the menu bar to end an app. Select Preview > Quit Preview, for instance (or press the keyboard shortcut Command-Q).