Topping out is a term describing when a submissive person turns into a dominant one. The opposite is called bottoming out.
There can be several reasons for this. Some want to just experience the other side while others feel like they have chosen the wrong role.