5V is enough that there was probably some internal reaction. But evidently not much if they didn't get warm from it.
Usually, reversal of a few volts is acceptable, or some percentage depending on rating. Chemically, the cathode foil has some natural oxide, not nearly so well crafted as the anode, but enough to hold off a couple volts; also give or take the ionic double layer effect.
At worst, some reforming will be fine.
Tim