those are different scenarios though. From what I understand reading the rules
You may legally dribble out of a pivot, provided that the ball is out of your hands before lifting your pivot foot. That is assuming you did not dribble into your pivot stop.