Your actions were emotional and not correct for you safety.
The correct action would be to immediately call the Police, report the situation, advise them you are legally armed, describe what you are wearing so they know who the good guy is and tell them you are standing by OUTSIDE the house waiting for their arrival.
