What the heck did I do to warrant S.W.A.T. to invade my home??!!
I guess it depends on the situation. How many personnel, how much ammunition I have, what the crime I'm being accused of is, etc. I know I'd try to draw their fire away from the house. Unless, of course, my family wasn't home.
This is all tactically speaking, of course. No fight is unwinnable. You just have to measure the cost and gain and see where the math leads you to see if it's worth it or not.