If you choose "Broken feed and rapid" and a gap is detected the tool retracts to the rapid distance. The retracting direction is the tool axis. With rapid speed the tool leaves the drive surface and moves over to the next toolpath point with machining speed.