A vehicle includes a tip over detection device that uses a vertically oriented
sensor to improve the accuracy of detecting when the vehicle has tipped over. An
ECU communicates with the accelerometer and controls engine operation. The ECU
stops the engine, preferably gradually, when the vehicle has tipped over. The sensor
can also detect lean in additional directions that are orthogonal to the vertical direction.