The total energy of the ball consists of its potential energy (related to position) plus its kinetic energy (related to motion). To zero out both components, you would have to give a precise value to ...