When you log off your machine, you're simply signing out of the system so that no one can get to your desktop and/or you're allowing someone else to sign in with their login credentials. To perform a full restart, you'll either need to shut down (turn your computer off and on again) or select reboot.
Our resident techie & writer, gives you tidbits and advice to share. All advice is based on real incidents; the names have been omitted to protect the guilty. 😊