There are quite a few sensors that come back from the engine to the Engine ECU, there are only Two that will stop it when the engine is running, the one that stop the engine are 1/ Earth feed back to main relay and if the main relay goes out then so does your fuel pump relay, all other sensors...