A pattern I’ve seen in countries dealing with terrorism is that they try and kill or arrest all members of a terrorist organization. I’m trying to find an example where terrorist cells were destroyed by military force and I can’t find any- it seems the most successful endings are through diplomacy and humanitarian relief to the communities that are vulnerable to radicalization.
for Nagorno-Karabakh, and its comparison with Palestine, this was an interesting podcast: https://www.nytimes.com/2023/11/01/podcasts/the-daily/armenia-nagorno-karabakh.html