The "castle doctrine" is a matter of state law, and varies from state to state. For example, in Maryland and many other states, one can only use deadly force in in-home self defense if no safe exit is possible. This is called the "duty to retreat."
It's not as bad as it seems. Usually, if...