If you lift the pivot foot while you have ball in hands, you must now pass or shoot, not dribble.
If you start the dribble while pivot foot is still planted, you can now pass shoot or continue dribbling.
f. In starting a dribble after (1) receiving the ball while standing still, or (2) coming to a legal stop, the ball must be out of the player's hand before the pivot foot is raised off the floor.
g. If a player, with the ball in his possession, raises his pivot foot off the floor, he must pass or shoot before his pivot foot returns to the floor.