Stop in for a cup of coffee

Wow, that is crazy. So there must be a sensor on the engine, that if it looses oil pressure it shuts off?