There can be a few reasons, like a sleep timer or a defective component, but a sudden switch-off can also happen because of overheating, as a safety measure. Ensure that your smart TV has proper ventilation and is not placed in an enclosed space.