This is just one of the solutions in that link that might help you:
If your S console is turning off randomly, try wiping off the power and eject buttons with a dry microfiber cloth to remove any oils or dirt that has accumulated. Sometimes this can be enough to trigger the buttons.
Keep us updated.
Did this solve your problem?
Sorry this didn't help.
Great! Thanks for marking this as the answer.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.