What happened was that you drew upon a reserve of adrenaline, power, ki, energy, whatever word you would like to use to describe it, to refresh yourself somewhat and to keep on going a little further until more rest can be sought to completely revive yourself.
As for the healing surge to bring...