A robotic catheter system including a first drive mechanism configured to interact with an elongated medical device to cause the elongated medical device to move along its longitudinal axis. A controller provides a signal to a motor to move the first wiping surface toward the longitudinal axis when the elongated device is being withdrawn from a patient.