Quite....in WW11 Churchill allowed the city of Coventry to be bombed, although he knew it was going to happen because the German code had been cracked. To evacuate Coventry would have alerted the Germans that their code was compromised.
That is a great example.
I am certain the War on Terror has occasionally required similar tragic decisions. We may never know how many.