Firing the entire team is the nuclear option.
nuclear option
idiomIn resolving a problem, the possible course of action that is considered the most extreme because of its collateral consequences.
Origin
disputed originFrom analogy with the political decision to be the first to use nuclear weapons in a war.
The company decided to use the nuclear option and shut down the entire department to stop the financial losses.
While the board preferred a diplomatic resolution, they ultimately chose the nuclear option, knowing that the resulting legal battle would likely destroy the partnership.