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.