How To Close An App That Won’t Close | Fast Fixes

To close an app that won’t close, use Force Quit on Mac, Task Manager on Windows, or a kill tool; unsaved work may be lost.

Stuck windows, frozen spinners, spinning beachballs—when a program locks up, you need a clean, fast exit that doesn’t wreck the rest of your system. This guide lays out quick actions for every major platform, then moves into deeper tools for stubborn cases. You’ll also find smart ways to avoid repeat crashes, plus safe-mode ideas when the whole desktop stalls.

Closing An App That Refuses To Quit: Quick Paths

Start with the lightest action that works. In many cases a simple shortcut ends the hang in seconds. If that fails, step down the list to stronger options like process managers or command-line kills.

Platform Quick Shortcut When It Works
Windows Alt + F4 on the stuck window App has focus and still accepts close signals
Windows Ctrl + Shift + Esc → Task Manager → End task App is listed in Processes and responds to End task
macOS Option + Command + Esc → select app → Force Quit Standard force-quit path for unresponsive windows
Linux (GNOME) System Monitor → select process → End Process Frozen app shows in the list under user processes
Linux (any X11) xkill then click the bad window Window still draws on screen but ignores normal close
Android Swipe up & hold → recent apps → swipe the card away App is visible in the overview and can be dismissed
iPhone/iPad Home indicator swipe → app switcher → swipe the card App misbehaves or stalls on a single screen

Windows: From Gentle Nudge To Hard Stop

Try The Window Close Signal

Click the misbehaving window to bring it forward, then press Alt + F4. If that fails, right-click the taskbar icon and choose Close window. If you see multiple windows for the same program, close each one.

Use Task Manager For A Clean Termination

Press Ctrl + Shift + Esc to open Task Manager. On the Processes tab, select the app name and click End task. If it returns immediately, open the Details tab, right-click the executable, and choose End process tree. This ends child processes that keep the parent alive.

End Tasks From The Taskbar Jump List

On recent builds, you can add an End task option to app jump lists. Go to Settings → System → For developers → toggle End task. Then right-click a running app on the taskbar to find the new command. Handy when Task Manager is buried.

Kill It From The Command Line

If the GUI stalls, open Win + R, type cmd, then run:

tasklist
taskkill /IM appname.exe /F

When the process name is unclear, use tasklist to look it up. The /F flag forces termination. As a last resort, restart the desktop shell: in Task Manager, choose File → Run new task, type explorer.exe, and press Enter.

Check The Wait Chain

Some hangs occur because one process is waiting on another. In Task Manager, right-click the process and choose Analyze wait chain. If a child entry is stuck, end that one to release the main app. Use this sparingly; ending the wrong process can close other windows.

macOS: Force Quit And Activity Monitor

Use The Force Quit Dialog

Press Option + Command + Esc to open the Force Quit window, select the frozen app, and click Force Quit. You can also open this from the Apple menu in the top-left corner. Expect to lose unsaved edits in that app.

Stop A Stuck Process In Activity Monitor

Open Activity Monitor from Spotlight. Select the process name and click the stop button. Choose Quit, and if that fails, choose Force Quit. This view can reveal helper processes that keep a misbehaving window alive.

When The Whole Desktop Freezes

First try Command + Option + Escape to end the worst offender. If the cursor barely moves, press and hold the power button until the Mac powers off, then start fresh. That step risks data loss inside unsaved documents, so reserve it for full lockups.

Linux Desktops: GUI Tools And X Killers

GNOME System Monitor

Launch System Monitor, pick the process, and click End Process. If it lingers, right-click and choose Kill.

Click-To-Kill With xkill

Press Alt + F2, type xkill, then click the frozen window. The pointer changes to a crosshair; one click sends a strong kill signal. Close the mode with Esc if you change your mind. This works on X11 sessions and many Wayland setups with compatibility layers.

Terminal Commands

Open a terminal and run:

ps aux | grep appname
kill <PID>
kill -9 <PID>     

Try a normal kill first; use -9 only when nothing else works, since it skips cleanup hooks.

Phones And Tablets: Clear Stuck Screens

Android

Swipe up from the bottom and hold to open recent apps. Swipe the problem card away. If it reopens in a bad state, go to Settings → Apps → the app → Force stop. If the UI is frozen solid, hold the power button to reboot.

iPhone And iPad

Swipe up from the bottom and pause to open the switcher, then swipe the app card off the screen. If buttons stop responding, do a quick device restart using the model-specific button combination.

When A Game Or Full-Screen App Ignores You

Full-screen software can trap input. Try these in order:

  • Alt + Tab (Windows) or Command + Tab (macOS) to switch focus.
  • Ctrl + Shift + Esc (Windows) to bring up Task Manager on top.
  • Win + D (Windows) to show the desktop, then end the process.
  • On Linux, run xkill or switch to a TTY with Ctrl + Alt + F3, kill the process, then return with Ctrl + Alt + F1/F7 (varies by distro).

Data Safety: Reduce Damage Before You Kill

Ending a task can drop unsaved work. A few tactics limit the fallout:

  • Save often in long sessions. Enable autosave where the app offers it.
  • Take a snapshot before risky plug-ins: copy the file to a temporary name so you can roll back.
  • Close large data imports in stages rather than one giant batch.

Fix The Root Cause So It Doesn’t Return

Check Add-Ons And Extensions

Many crashes trace back to plug-ins, themes, or old add-ons. Start the program without extras, or launch the system in a minimal mode. Re-enable extensions one by one to find the offender.

Update The App And Graphics Stack

Install the newest build of the app, plus current GPU drivers. Graphics layers often trigger freezes in creative tools and games. If a new driver starts the trouble, roll back one version.

Watch For Resource Spikes

Open a performance view (Task Manager, Activity Monitor, or System Monitor). If CPU or memory is pinned at 100% when the crash happens, lower project resolution or close background tabs. Sudden disk spikes hint at low free storage or paging limits.

Repair The App

On Windows, use Settings → Apps → the app → Advanced optionsTerminate, then Repair or Reset if offered. On macOS, reinstall the app or clear its cache folder if the vendor documents a safe path. On Linux, reinstall the package and clear config files in your home directory only if you know what they do.

Command-Line And Power Tools

If you handle stubborn hangs often, keep a few commands handy. These tools bypass slow GUIs and end a bad session in seconds.

Platform / Tool Command Or Path Notes
Windows Taskkill taskkill /IM app.exe /F Add /T for child processes; use only when End task fails
Windows Wait Chain Task Manager → right-click process → Analyze wait chain End the blocker instead of the main window when safe
macOS Activity Monitor Search process → stop button → Force Quit Useful for helper daemons that keep a window stuck
Linux xkill Alt + F2xkill → click window Fastest route when the title bar won’t respond
Linux kill kill PID → then kill -9 PID if needed Use -9 only when normal signals fail
Android Force Stop Settings → Apps → app → Force stop Clears the running state without uninstalling
iOS Switcher Swipe up & pause → swipe app card away Good for single-screen stalls

When Nothing Responds

If the pointer still moves, try ending the worst process first. If the entire desktop is frozen, use a single long press on the power button to shut down. Let the device rest for a few seconds before turning it back on. After restart, check crash logs and free storage space to prevent a quick repeat.

Quick Reference Steps By Platform

Windows

  1. Try Alt + F4 on the window.
  2. Open Ctrl + Shift + Esc → End task.
  3. Use End task from the taskbar jump list if enabled.
  4. Run taskkill /IM app.exe /F in Command Prompt.
  5. Analyze the wait chain and end the blocker if safe.

macOS

  1. Open Option + Command + Esc → Force Quit.
  2. Use Activity Monitor to quit or force quit a process.
  3. If the desktop is unresponsive, power off with a long press.

Linux

  1. Open System Monitor → End Process.
  2. Run xkill and click the frozen window.
  3. Use kill PID in a terminal; add -9 only if needed.

Android

  1. Open recent apps → swipe the card away.
  2. Settings → Apps → app → Force stop.
  3. Reboot the device if the UI won’t accept input.

iPhone/iPad

  1. Open the app switcher → swipe the card away.
  2. Restart the device if taps stop registering.

Helpful References For Deeper Steps

Learn more about the standard quit dialog on macOS at Force Quit on Mac and the standard app closing gestures on Android at close apps on Android. These pages show official shortcuts and extra safety notes.

Final Checks After A Crash

  • Reopen the project and look for autosave or recovery files.
  • Back up the file with a new name before trying plug-ins again.
  • Update the program and drivers, then retest the same steps that caused the stall.
  • Free space on the system drive; low storage often triggers hangs.