Difference between "Restart..." and "Shutdown"/turn-back-on?

Is there a significant difference in the resulting state of a MacOS (Apple silicon running Sequoia) device between using the "Restart" menu item vs. using the "Shutdown" menu item and then turning the machine back on?


"Restart" shuts down all applications and then reloads the OS, followed by restarting the applications.


"Shutdown" also shuts down all applications and then shuts down the OS and then powers off. A power-on then loads the OS and re-opens all applications.


Is there a significant difference in the resulting OS state because of that cold restart?


One reason I ask is because I've been told that there are apps that don't behave well if that cold restart doesn't occur.

EDIT: Actually, (and even more curiously) it's the other way round. A particular vendor's VPN software won't connect after a cold restart. If you "Restart", it will then connect successfully. Using launchctl to unload and load to restart the task also seems to resolve the inability to connect.


(I know there are the options to force immediate shutdown which kills the apps and not re-open them on restart. Not interested in lots of caveats around those combinations of options.)


Posted on Feb 3, 2025 12:47 PM

Reply
Question marked as Top-ranking reply

Posted on Feb 3, 2025 1:05 PM

Since you asked:


When you select Restart, macOS shuts down all running processes, logs you out, and reloads the operating system. The Mac does not fully cut power to the hardware. Instead, certain components (such as the logic board, some memory caches, and peripheral devices) remain in a low-power state. Temporary files in RAM are cleared, but some firmware and low-level system settings may persist.


When you shut down the Mac, all power to internal components is fully cut off. This forces all hardware components to fully reset, including the SMC (System Management Controller) and PRAM/NVRAM (depending on the Mac you have). When you turn it back on, the Mac goes through a complete hardware initialization process, which can resolve deeper system issues.

9 replies
Question marked as Top-ranking reply

Feb 3, 2025 1:05 PM in response to drhender

Since you asked:


When you select Restart, macOS shuts down all running processes, logs you out, and reloads the operating system. The Mac does not fully cut power to the hardware. Instead, certain components (such as the logic board, some memory caches, and peripheral devices) remain in a low-power state. Temporary files in RAM are cleared, but some firmware and low-level system settings may persist.


When you shut down the Mac, all power to internal components is fully cut off. This forces all hardware components to fully reset, including the SMC (System Management Controller) and PRAM/NVRAM (depending on the Mac you have). When you turn it back on, the Mac goes through a complete hardware initialization process, which can resolve deeper system issues.

Feb 3, 2025 1:22 PM in response to drhender

>One reason I ask is because I've been told that there are apps that don't behave well if that cold restart doesn't occur.


Unless they're doing something _really_ weird at a hardware level, there's no practical way an application can tell the difference.


Yes, it's true that contents of RAM could still be read for a short while after being unpowered. RAM basically stores a voltage in some medium and that voltage dissipates over time, needing to be constantly refreshed to retain its value.

Waaaay back in the day of solid state memory systems, early systems may have used delay lines or vacuum tubes, with decay times (the time it took for the memory content to decay or get lost if not refreshed) measured in seconds, and leaving the system off for ≈30 seconds or so guaranteed that the voltages would dissipate and wipe the memory (think: give time for a vacuum tube to cool down)

Modern memory systems use semiconductors, transistors or capacitors, with decay times measured in milliseconds, at best, so the whole concept of time is shifted. Human memories are long, by comparison, and we still sometimes live by the 'good old days'.


In addition, modern memory techniques render most such actions around memory recovery moot. After a reboot, the whole memory is basically scrambled, so no data is where you think it was just moments ago.


So no, for all intents and purposes, there's no difference between Restart and Shutdown/wait/power-on as far as everyday computing is concerned, and no application you're running is likely to be able to tell the difference.

Feb 3, 2025 1:36 PM in response to drhender

FWIW, without going into too much detail, the following is the steps a Mac goes through when booting up from a cold start:


  • Phase 1: System Initialization
    • Firmware (aka, Boot ROM) - Tests & initializes the Mac's HW, then locates and starts the Booter.
    • Booter - Loads the macOS Kernel and essential kernel extensions (kexts) into RAM, and then, allows the Kernel to take over. This is when the Apple logo appears on the screen.
    • Kernel - Provides the macOS foundation and loads additional drivers and the core operating system. This is when the Progress Bar appears on the screen.
    • Launchd - Root is the owner of this process and it is the 1st parent process that spawns other child processes. The last step of the launchd process is to display the user login window.
  • Phase 2: User Sessions
    • Loginwindow - Runs as a background process. It coordinates with the opendirectoryd process to authenticate the user. Once authenticated, it works with launchd to initialize the graphical user interface. Once that is done, it starts any user login items.

Feb 3, 2025 1:15 PM in response to Tesserax

Thanks for the thorough response. Your summary is pretty much what I expected, which only makes the situation more curious, since the cold startup cause the VPN software to fail to connect and a hot restart allows things to work correctly.


The only thing I can figure is that there's a timing issue in the cold startup wherein the system isn't quite ready when the task makes it's attempt to do something and when that fails, it leaves it in a bad state. The resolution through unloading/reloading with the task CLI (launchctl) seems to strengthen that theory.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Difference between "Restart..." and "Shutdown"/turn-back-on?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.