Potential energy converts kinetic energy when the range is shifting from the S pole to the N pole.
If you like, I can put in more detail!
8.1m questions
10.7m answers