Had a new autozone alternator fail on me decades! ago.
About a week in, one of the brushes had fallen out of place.
Wouldn't have been a big deal, except it happened at 2am in the morning 100 miles from home.
Pulled over when the lights started getting real dim. Was sleeping in the car to wait until morning.
Then a nice girl stopped at the gas station, drove 45 minutes away to bring me a dead battery. (she thought was good)
Instead she gave me the one out of her car, and I let her have my old one to charge up as she drives.
Not sure that will work on these newer cars, might freak out when you remove the battery..