Robin is swinging back and forth from a trapeze. In which of the following situations in his kinetic energy being transformed into potential energy?