If the hazards stay on, first tell a mechanically sticking button from a fault in the electrical circuit. Treating it from the outside doesn't prove the contacts are sound.
How it shows up
In two discussions, after rain or with the switch cluster working vaguely, a sticking spring was suspected. Lubricants and a water-displacing spray were suggested, but a proper diagnosis and a lasting repair result weren't confirmed in every case.
What to check
With the bike stationary, check that the button returns and that the indicators work individually, and inspect the connector and any traces of water. Don't flood the switch cluster with just any oil: the product must be compatible with the contacts and plastic. Before taking it apart, disconnect the power following the procedure.
Result and next steps
After a repair, every mode needs to work predictably, not just switch off temporarily after a restart. If the cause is a damaged switch cluster or relay, lubrication won't remove it. Relay and connections · Moisture after washing.