How could I setup that the motor shut off autonomously when I move the switch to release parachute?

I have done with the servo for releasing parachute but don’t know how to shut off motor at that point when I move the switch to release parachute. I connect the servo to main RC 6 on pixhawk and set up like this:
image
How about shutting off the motor autonomously ? Please help