The military can use various tactics to combat terrorism, including scattering terrorist elements, cutting off their funding and disrupting their communication.
We can cut off one head or tail but the monster will survive.