How to turn off Raspberry Pi?
To safely turn off a Raspberry Pi , do one of these: From the terminal (recommended) Shutdown now sudo shutdown -h now Power off immediately sudo poweroff Halt (stops CPU; usually also powers off) sudo halt With a desktop GUI Click Menu (Raspberry icon) → Shutdown… → Shutdown If it’s frozen Try the “magic SysRq” safe reboot sequence (works only if enabled): Hold Alt + PrintScreen Slowly type: R E I S U B (reboots safely; for shutdown you’d usually still need power control afterward) After shutdown When the Pi finishes shutting down, the green ACT LED stops blinking . Then you can remove power (unless you have a power management board that cuts power automatically).