This is often referred to by commentators as "breaking the count." Heels often use this tactic in order to buy themselves more time to catch their breath, or to attempt to frustrate their babyface opponents.
What is the trick of sliding in and then back out of the ring called?
breaking the count.