Don't use a servo to trigger the microswitch, if the servo fails or jams, you cannot turn your weapon off (VERY DANGEROUS).
Use a battle switch or a modified ESC to trigger the relay, it's the only safe way.