From The Beginning Pilot’s Flight Guide (p. 114):
The obvious and best response to any electrical, weather, or fuel-related emergency is to land the plane as soon as possible. Any delay in getting the plane back on the ground can have grave consequences.