You can’t set it free without damaging its limbs, so the only option is to kill the captive. If you don’t want to deal with this unpleasant procedure, then glue mouse traps are certainly not for you.