Sounds to me like you were in survival mode. You probably NEEDED the anger to get yourself free from a desperate situation. You did what you had to do for the sake of yourself and your son. If you were less than perfectly "kind" it pales in comparison to years of abuse.
I'm glad you are out of there. Let go of the guilt, and while you're at it, pray for your husband.