An experimental high-speed maglev train carriage enters a horizontal electromagnetic braking zone at point PPP. The induction braking system engages, causing the carriage to slow down rapidly and come to a complete standstill at point QQQ.

Describe how the total energy of the system is conserved as the train carriage travels between PPP and QQQ.