The sun's magnetic poles exchange places at the peak of the sunspot cycle.