Modern computers can sleep, hibernate or shut down. Sleep resumes quickly but uses some power; hibernation writes the session to storage; shutdown closes applications and powers the system off.
When shutdown helps
Restart or shut down after updates, when an application leaks resources or when troubleshooting hardware. A full power cycle can clear a driver state that sleep preserves.
When sleep is practical
Use sleep for short breaks when the machine is in a trusted location. Hibernation is useful for longer periods on a laptop because it uses little or no battery while preserving the session.

Protect work
Save documents and let updates finish before closing the lid. Do not force power off during a firmware update. Configure automatic sleep and backup routines according to how the computer is used.
Reference: Microsoft power options.
Before you change anything
Record the current setting, confirm the exact hardware and keep a backup of important data. Test one change at a time so you can identify the cause if the result is different from the expected behaviour. Current menus and support policies can vary by release, so follow the linked vendor guidance for the version in use.
Restarting is different from signing out: it reloads drivers and services, while shutdown may use fast startup on some Windows systems. If you are diagnosing a hardware issue, choose a full restart or shutdown according to the manufacturer’s instructions. Never interrupt a firmware update or force power off while the disk light shows active recovery work.