Quit or Restart a Frozen App with killall
Force-quit a hung macOS application by name from the terminal using killall, then relaunch it in one more command.
01Command
$ killall Safari02What it does
killall sends a process a termination signal matched by its exact name, which is often faster than hunting for Force Quit when an app is beachballing — and it works even when the app's menus no longer respond. Follow the quit with open -a to restart the app fresh, which usually clears the hang. Use killall with no arguments or check Activity Monitor if you are not sure of the process name; killing a system daemon instead of an app requires sudo and more care.
03Risk
04Undo
$ open -a Safari05Sources
- killall - kill processes by nameEvidence: Documents killall for terminating processes by name, including sudo usage for other users' processes.
- Quit an app on MacEvidence: Apple's guidance on quitting unresponsive apps, confirming the everyday need killall addresses from the command line.
Last verified: 2026-09-18 · Category: System & Settings
06Related solutions
Point macOS screen captures at any folder you choose instead of the desktop.
Grab any file from the web straight into the current folder — no browser needed.
List the biggest files in your home folder that are eating disk space.