In theory. The reality can be a bit different. Apps crash. I have it happen with some regularity.  This is especially so with Apple Mail. It might seem to be working fine, but out of nowhere it’ll stop syncing with my IMAP accounts, and the usual method of closing the app does no good.  What do you do? Restart the machine? That’s one way of taking care of the situation. It’s also not the most efficient method. Not only do you lose your flow, but you could accidentally lose work. I’ve had this very thing happen when I’d forgotten that a particular document was opened and not saved. Reboot, and blammo! Document lost. That’s not an option anyone wants to deal with.   Also: The Ultra is the Apple Watch I’ve always wanted, or so I thought And so, we’re back to that question, what do you do? Fortunately, Apple has made it very simple to close stubborn applications. And for those really stubborn applications, there’s also the command line. I’m going to show you both ways.

How to force-quit a stubborn app in MacOS

First, the easy route. The first method we’ll discuss is the GUI tool, aptly called Force Quit.  Also: How to delete apps on your MacBook in 3 steps

The command line method

You might not know this, but MacOS is very much in line with Linux on many levels. For instance, MacOS includes a powerful command line tool that can simplify a lot of tasks… even killing rogue applications. If you find the Force Quit tool doesn’t work for the app you want to kill, or maybe you’re interested in getting familiar with the command line interface, let me show you how easy it is to kill an app. I’m going to show you the simplest method (because there is a more challenging way to do this from the terminal, but I don’t want to frighten you away from the terminal). Also: How to install Linux applications from the command line When you have a stubborn application, open the Launch Pad, search for terminal, and then open the terminal app. Let’s say Apple Mail isn’t responding and you want to close it from the terminal. For that, you’d use the killall command like so: killall Mail What happens if you don’t know the actual name of an app (or, better yet, the command used to start the app)? For that, you can turn to the top command. If you issue the command top, you’ll see a list of all running applications. In the COMMAND column, you’ll see the names that are to be used with the killall command. Do be careful with the killall command and only use it to kill applications that are not part of the system. A good rule of thumb is if you don’t know what it does, don’t kill it. And that, my friends, is how you can close stubborn applications on MacOS. To be clear, you should always use the Force Quit app as the default, and only turn to the terminal window when Force Quit doesn’t work.