You can shut down or restart your Mac at any time.
On your Mac, choose Apple menu > Shut Down.
When your Mac restarts, it will automatically reopen any windows that you had open.
If you don’t want this to happen, de-select “Reopen windows when logging back in.”
You’ll know your Mac is completely shut down when you see a black screen.
Before you close the lid on your MacBook (laptop), wait for the Mac to completely shut down first. If you don’t, it may inadvertently put the Mac to ‘sleep’ while it’s shutting down, which means it may not shut down properly. This will make it start up slower when you turn it back on next time.
On your Mac, choose Apple menu > Restart.
When your Mac restarts, it will automatically reopen any windows that you had open.
If you don’t want this to happen, de-select “Reopen windows when logging back in.”