If you don’t plan to use your PC for a while, then you could shut down (turn off) the PC to save energy.
A shut down closes all apps, signs out all users, and turn your PC off completely.
When shutting down your PC, any open supported apps are registered for application restart. After restart, these apps will re-open automatically when you sign in.
This tutorial will show you different ways on how to shut down your Windows 11 computer.