My previous car was a 2002 Chevy Prizm (Corolla in drag). The battery seemed to die one day at 10 years of age - but by turning off the A/C and all other accessories, I was still able to drive home, then to the store to get a new battery. (I loved that car. It never stranded me once. It was 17 years old when I wrecked it.) IIRC, the replacement battery had significantly more Cold Cranking Amps.
Of course, with this car, I won't let it go anything like 10 years before replacing it - I just got lucky.