Point noted, I will stop the saying I do not agree. The other night she shouted a little bit about something I didn't do correctly in front on my son. I didn't respond, I just stood up, left the room and went upstairs (this for me is very hard to do as I am usually argumentative and become defensive and critical in this situation). Later that evening she come upstairs and asked something completely trivial, which was her way of saying sorry and showing the lines of communication are still open. In summary, I'm trying to do what you suggest above
I'm glad you resisted the urge to shout back! Now, just upgrade with Steve's "I refuse to be spoken to in this manner." before walking away and you're solid. The goal isn't to switch from being aggressive (shouting at her) to passive (accepting being shouted at). Don't shout, and don't accept being shouted at.