Added catapult retract command and implemented interrupted methods in the retract and launch commands.