Assume an object is moving and it is stopped at a point . Now kinetic energy will transform into some other energy . what can be those energies and on which cases these will happen respectively ?
kinetic energy is converted into sound,heat,potential energy etc etc.
When a body go upwards against gravity its kinetic energy changes to potential energy and at maximum height the whole kinetic energy is converted into potential energy.
But if air is present the kinetic energy also converted into heat and sound so the potential energy at the maximum height is less than the initial kinetic energy of the object.
EDIT:Potential energy only depend on the final position.It doesnt matter how the object reach the height $h'$ ,potential energy is still $mgh'$.
when you throw the object upward the speed of object keep decreasing that means the kinetic energy also keep decreasing.
But potential energy of the object keep also increasing .
Now if you throw an object with kinetic energy $1/2 mv^2$(i will assume now that there is no air)
If you dont stop the object with your hand(or anyhow) it will go to a height $h$,and at height $h$
its potential energy will be equal to $1/2 mv^2$.(That means the whole kinetic energy is converted into potential energy).
Now what happen when you stop the object at a height $h'$?
In this case since at height $h'$
Potential energy is equal to $mgh'$(which is less than the kinetic energy you provided atfirst).
a part of the kinetic energy surely has gone somewhere?
ans is yes,when you stop the object with your hand ,a part is converted into sound and and a part to heat.