 The mass then begins to decelerate because it is now compressing the spring and in the process transferring the kinetic energy back to its potential.Thus oscillation of the spring amounts to the transferring back and forth of the kinetic energy into potential energy.In this simple model the mass continues to oscillate forever at the same magnitude—but in a real system, "damping" always dissipates the energy, eventually bringing the spring to rest.