Hazard lights may stay on when a car is turned off if the hazard switch is in the "on" position or if an electrical malfunction is present.