I had to get out of the house entirely. If possible, I'd take a short walk (rarely was an option because she would follow me). My "retreat" was usually in the car -- I'm amazed I didn't run over her in my rush to get away before she could position herself so I couldn't back out of the driveway.
Mine would push and push and push. She truly wasn't happy until I had lost my temper. For some sad reason, she felt she had won when that happened. I think her logic was that if mom lost it then we were on equal footing -- I was a little less perfect (don't I wish) and she was a little superior because the big person had become a bully. If I tried to go to another room, she would follow. If I closed the door, she would scream through it. So, the only option I had was to leave the house entirely. The advantage is that it would give me a break and a chance to regroup before I did lose it. I never left for more than 30 minutes (usually only like 10 or 15 minutes) but it really did help.
Like yours, mine would quit once I had gotten angry enough. On more than one occasion, I saw a secret little smile on her face once I started yelling. I can't imagine feeling I'd won when someone I loved was angry with me but there is no question that this was a victory to her.