The energy is recovered when demand is high by releasing the water, with the pump becoming a hydroelectric power generator