Vertical Coffin by Stephen J. Cannell
A nightmarish series of events sweeps LAPD's Sergeant Shane Scully and his wife (and boss), Alexa, into the vortex of an enormous, jurisdictional fire storm. First, a sheriff's deputy, a friend of Shane's, is gunned down while serving a routine search warrant. His fellow deputies blame the incident on the Bureau of Alcohol, Tobacco and Firearms, whom they angrily accuse of failing to warn them that the suspect had a huge arsenal of illegal weapons in his house. Soon thereafter, a member of the ATF Situation Response Team is shot to death, followed by a member of the Sheriff's Special Enforcement Bureau. At the request of the Mayor5, the LAPD - an uninvolved and unbiased agency - assigns Shane to investigate. He is given an impossible deadline to find a solution before these two elite and deadly SWAT teams kill each other off amid a hurricane of horrible publicity.