The Emergency Medical Aid text I worked through some decades ago advised immediately removing the gas cap from any damaged vehicle.
It's pressure that will lead to an explosion. These days you'd have to find and work the gas cap release by the driver's seat, then jam something in to keep the filler inlet open
However many makes have a deceleration actuated shutoff for the fuel tank
Flash fires from spilled fuel can catch people unawares. The CCTV shows a very good example.
Entering an area where there's fumes is best left to firefighters in turnout attire.
Once the stuff lights up, you know where it is and can navigate around if necessary to save life.