Stop-Awake
SYNOPSIS
Stop the "Awake" job that prevents the system from entering sleep mode.
SYNTAX
DESCRIPTION
This function stops the "Awake" background job, which prevents the system from entering sleep mode. If the job is running, it terminates and removes it. If the job is not running, it notifies the user.
EXAMPLES
EXAMPLE 1
Stops the "Awake" job if it is running and allows the system to enter sleep mode.