When a load is applied gradually under elastic limit, then the stored energy as strain energy is absorbed by the body and this energy release when the load is removed and the regains its original shape. The equation of strain energy as follow:
Strain energy = 1/2 * Stress* Strain* Volume = 1/2*Load*Displacement