
If your laptop won't shut down, save your files, close any frozen programs, and enter the command shutdown /s /t 0: without the /hybrid parameter, it doesn't prepare the system for Fast Startup. Hold down the power button only if the system is completely frozen: unsaved data will be lost.
Why your laptop won't shut down from the Start menu
First, see where the shutdown stopped. If Windows reports that an app is preventing shutdown, there's probably an unsaved file or an unfinished task in it. Cancel the shutdown, save your work, and close that app.
| Symptom | What to check | Next step |
|---|---|---|
| Stuck on "Shutting down" | Programs and updates | Wait for updates or close the frozen program |
| Screen is off, indicator light is on | Sleep instead of shutdown, or a freeze during shutdown | Check power button and lid actions, then try shutting down again |
| Logo appears after shutdown | Fast Startup, wake timers, and network wake | Follow the steps in the section on unexpected startup |
| Turns off when closing the lid | Lid-close action | Change the setting |
| Even the cursor won't move | Windows freeze | Last resort: force shutdown; unsaved data will be lost |
If the cursor moves, press Ctrl+Shift+Esc. On the Processes tab, find the frozen program (it might say "Not responding"), select it, and click End task. Any unsaved document in that program will be lost.

How to shut down your laptop with the shutdown command
This command checks whether the problem is related to the Start menu. The /s parameter shuts down the computer, and /t 0 removes the delay, which is 30 seconds by default. Don't add the /f parameter: it closes apps without warning, and unsaved data can be lost. You don't need the /hybrid parameter either: it prepares the system for Fast Startup.
Save your documents and wait for file copying to finish.
Press Win+R to open the Run window.
Type
shutdown /s /t 0and press Enter.Check whether the screen, indicator lights, and keyboard backlight have turned off.
If the command worked but the Start menu button didn't, the problem is related to the normal shutdown process. If the laptop freezes again at the same stage, check startup programs, drivers, and Windows updates. If it's completely locked up, open the guide for an unresponsive laptop.
How to keep your laptop from shutting down when you close the lid
Change the action assigned to closing the lid. Windows keeps separate settings for battery and plugged-in power. Sleep, Shut down, and the "Do nothing" option are available; Hibernate is only on the list if it's turned on.

Press Win+R, type
control, and press Enter.Open System and Security → Power Options.
Click "Choose what closing the lid does" on the left.
Select "Do nothing" for the desired power mode.
Click "Save changes" and close the lid to test it.
If you need sleep mode, choose it in both columns. Then test closing the lid: first plugged in, then on battery. The difference between sleep and hibernation is explained in our guide on laptop sleep mode.
What stops Windows from shutting down
A shutdown can be delayed by an open program, an installing update, or a driver for a connected device. If an update is in progress on the screen and the percentage is changing, plug in the charger and wait until it's finished. Forcing a shutdown at this point can corrupt Windows.
What to check before shutting down again
If the issue started after installing a program, temporarily remove it from startup: Ctrl+Shift+Esc → Startup apps (in Windows 10, the Startup tab) → the relevant item → Disable. When you don't know the culprit, a clean boot of Windows via msconfig helps check third-party services. Note down what you disable, and don't touch Microsoft services. After testing, switch back to Normal startup and enable what you turned off: otherwise, some of your programs won't work.

If the laptop turns back on after shutting down
For one test, turn off fast startup. Open Control Panel → System and Security → Power Options → Choose what the power buttons do. Click "Change settings that are currently unavailable", uncheck "Turn on fast startup", and save your changes. If you don't see this checkbox, fast startup is not turned on on this laptop. Windows might take longer to load, but you can turn the checkbox back on after the test.
If the laptop wakes up on its own from sleep or hibernation, powercfg commands will show the cause. How to run them, which devices and timers wake the computer, and which UEFI settings handle turning on over the network and by timer are covered in the article computer turns on by itself.
Can the battery stop the laptop from shutting down
Check the battery if the issue depends on the charger. For example, the laptop shuts off immediately after you unplug the charger or freezes only when running on battery. Open Command Prompt or Terminal as administrator, run powercfg /batteryreport, and find the path to the HTML report in the window.
In the report, compare Design Capacity and Full Charge Capacity, then open Recent usage. If the case has warped, the touchpad has lifted, or there's a gap along the bottom cover, unplug the charger and stop using the laptop. Don't press on the case and don't open it.
What you can check yourself
- Close a frozen program
- Run the shutdown command
- Configure the lid action
- Generate a battery report
Better to call a technician
- You have to hold down the power button for every shutdown
- The laptop turns back on after shutting down
- The case is warped near the battery
- There's a burning smell or severe overheating
Frequently asked questions
- Can you shut down a laptop by holding the power button?
- Yes, if Windows is completely frozen and doesn't respond to the keyboard or mouse. Any open, unsaved data will be lost during this shutdown. Don't do this while updates are installing.
- Why does the laptop turn back on after shutting down?
- First, turn off Fast Startup and check that it wasn't waking from sleep. If a fresh boot with the logo starts, find the network and scheduled startup settings in UEFI in the manual for your model.
- Why does the laptop turn off when closing the lid?
- Closing the lid is set to sleep, hibernate, or shut down. Check and change the action separately for battery and plugged-in power in Power Options.
- Will the shutdown command delete files?
- The
shutdown /s /t 0command doesn't delete files. Save your documents first. Don't add the/fparameter unless necessary: it forces apps to close, and unsaved data can be lost. - What to do if the laptop suddenly turns off without shutting down?
- Check the charger, heating, and battery health. Then open the page about when the laptop turns off on its own.


