I'm kidding about the above, but to be honest, you just don't say anything. The likelihood they're gonna slash your tires or something on your way out isn't even a possibility.
This is particularly why I hate the new custom of tipping before even receiving service or food. You have to do some game theoretic dance to decide whether you’ll get bad service if you tip low up front vs get bad service anyways because they’ve already got your money.
I've not left a tip a handful of times over some exceptionally bad service and food and never felt the desire to return to those restaurants.
Still was interesting they remembered me a year later from a restaurant I only went to once.
Hell you probably weren't the only person not tipping that same night.