You may have enabled the SLEEP function. The device will automatically switch off when it reaches the preset sleep time.
If you do not want it to do this, disable the SLEEP function.
How do I disable the SLEEP function?
In the active mode, press the SLEEP button repeatedly until the display shows OFF.