Their are two crash sensor inside the engine bay, located below both head lamp units on the top side of the wheel arches, I believe.
In the event of an accident, they are designed to turn the engine off, and I guess his is done via the ECU, simply by turning off the ignition (i.e. no spark to the plugs).