Sometimes if you try this you enrage the person on the other end so much that they LITERALLY stop what they're doing to SCREAM at the top of their lungs. After their voice is hoarse they go right back to the vicious attacks. I'm not sure this advice works when used on people with Narcissistic Personality Disorder or Borderline Personality Disorder.
I was being berated unfairly, verbally abused, accused of things that didn't happen, and gaslit. Instead of defending myself I actually tried the approach laid out in this article: "SHUT UP when you aren’t sure what to say". I wasn't about to defend myself when everything I do is suddenly on trial for some reason.