He jumps out of the minecart, but holds onto the minecart so it goes up with him. I thought this was obvious.I'm imagining what would happen if one of the magnets slips out of his hand mid"flight", causing the other end to tip over.
https://gamefaqs.gamespot.com/a/forum/0/082da8c1.jpg