I stand by you man, I live in a not so good neighborhood, and home invasions are a reality, so I always keep my "safety" loaded and ready. Although
I hope I never have to use it, it's better to have it, than to not.
Like others have said, you did what you had to do to save you and the wife, So the best way to is accept what happened, understand you did nothing
wrong, and try and forget. Good luck!