At which stage of the general adaptation syndrome does the body attempts to repair any damage and return to a condition of stability and equilibrium?