What exactly does the message say? I'd be willing to bet it's coming from your TV and has nothing to do with the Express. Roku devices don't shut off. Some have a power saving mode; yours may or may not.
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.