None. The axis around which a planet rotates goes through the planet’s North and South Pole, so the North-South direction is always perpendicular to the rotation.
You may be thinking of Uranus, but it just has a strong axial tilt, so that at some point of its orbit it appears a point on its surface moves upwards, at other times clockwise, at other times downwards, and at yet other times counterclockwise. The rotation had never changed in the entire time, just how it was seen from Earth changed.