On old fashioned cars with coils, when the engine started but then died, it was usually that the starting 12v feed was Ok, but the ballasted running 7-8v feed was broken.
I don't know if this practice continued with electronic systems, but it points to the feed being there when cranking but not with the key in the running position.


DaveW
'05 Red Roadster S1
'16 Yellow (Not the only) Narrow AR GDI Plus 4