Updated on November 10, 2026.
If an app stops responding, give it a moment to finish what it was doing. If it stays frozen, press Ctrl + Shift + Esc, select the app in Task Manager, and choose End task.
End task can discard unsaved work. If the window responds again, save your work and close it normally first.

Choose how to close the app
| What you can still do | What to try |
|---|---|
| You can select the app window | Try the close button or Alt + F4. The app may get a chance to save. |
| Windows works but the app will not close | Open Task Manager and select End task. |
| The app is on the Windows 11 taskbar | Use End task from its taskbar menu if you enabled that option. |
| You know the exact process and prefer Command Prompt | Use taskkill with its process ID. |
Force close a frozen app in Task Manager
- Press Ctrl + Shift + Esc. If the frozen window covers Task Manager, try Ctrl + Alt + Delete and choose Task Manager from the Windows screen.
- Open Processes. If an older Task Manager opens in a small view, select More details.
- Find the app by name under Apps. Select it and choose End task. Check the name first so you close the intended app.
- Reopen the app and look for a recovery or autosave prompt if you were editing a file.
Ending an app can close more than one window in that app. Microsoft’s Task Manager guide
Enable End task on the Windows 11 taskbar
On current Windows 11 builds, open Settings > System > Advanced. Look under Taskbar for End Task and turn it on. Some earlier builds put the switch under System > For developers. Once enabled, right-click a running app’s taskbar icon and select End task. If the switch is absent, use Task Manager. Microsoft’s Advanced settings guide
Close an exact process with Command Prompt
Open Command Prompt and run tasklist. Identify the app’s process and its PID, or process ID. If several processes have the same name, use Task Manager’s Details tab to make sure you have the right one.
taskkill /PID 1234 /F
Replace 1234 with the app’s actual PID. /F forces the process to stop. Use it only for a process you recognize and intend to close. Microsoft’s taskkill reference
If the keyboard and taskbar are both unresponsive, the problem may be a system freeze. See our guide to checking why a Windows PC freezes.
Frequently asked questions
What is the shortcut to force close an app?
Press Ctrl + Shift + Esc to open Task Manager, select the app, and choose End task. Alt + F4 asks the active window to close normally.
Will End task save my work?
Assume that any changes you have not saved can be lost. When you reopen the app, check whether it offers a recovered or autosaved copy.
How can I close a frozen app if I cannot switch away from it?
Press Ctrl + Alt + Delete and choose Task Manager if the Windows screen appears. Select the frozen app and choose End task.
Why does the same app keep freezing?
Check for an app update and note what you were doing when it froze. If several unrelated apps freeze, check Windows and the PC.
What if Windows says an app was blocked from opening?
Read the alert to see whether Windows Security, another security app, or a work policy blocked it. The force-close steps are for an app that is already running.