Worked well. Thank you.This helped me!
1. Log in with an account that has admin privileges
2. Open Terminal and run the following command:
3. Restart the Mac (this is necessary to apply the change.)
1 sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.PowerManagement SystemPowerSettings -dict SleepDisabled -bool NO
After the restart, you should see that the Sleep command is available again in the Apple menu.