I would kill the terrorist. Nobody makes me do what I don't want to.
I tend to take a weapon at first chance and use it on the bad people.
I'd pretend to be on there side, build up some trust then BAM! Assassinate the lot of them in their sleep.
Ah , but is it for a cause that I'd be into ? Quite possibly . .
But did you die?