Your remote may have a stuck button(s). Assuming it's not rechargeable, take the batteries out and then plug in the TV. If it doesn't go back to YouTube once it boots, it must be the remote.
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.