Auto Mission RTL: Turn off Servo function?

Can I get Pixhawk 1 to turn off any functions currently running in an AUTO mission if/when RTL is engaged? I have a servo function that is turning on and off during AUTO missions that I need halted if RTL is engaged.