He was armed and shooting at law enforcement and endangering lives. The POS had 6 days to surrender peacefully, but he chose to kill innocent people and was attempting to kill even more.
Which has exactly nothing to do with the fact he was contained.