My solution was to leave a tip, but just two cents, especially for waitresses who mouthed off to me for some reason.
I might add, the worst waitress I ever experienced was one who dumped a basket of French fries in my friend’s lap, and didn’t even bother to apologize. And no, she got no tip.
Back in the day when the waitress/waiter was rude we would do something called “flipping a cup” We would get a bunch of change and put it in the water glass. we would take the plastic signs on the table, usually advertising a fancy desert like Shoney’s Hot fudge cake if anyone here knows about that, and put the plastic car over the cup. We would then flip the cup quickly and place it on the table and pull the plastic card out. It would form a vacuum holding the water and coins in the cup. The only way to get the coins out was to pull up the cup which was a big old mess.
As a general rule, I will only not tip servers who are intentionally rude; a server who is polite and really trying, but is just inept, will get a pretty good tip. That’s just the grandfather in me.