My wife’s cat was getting on the neighbor’s convertible. I bought him a Ssscat Repellent device. Happy ever after!
So far, I've purchased one of those air soft plastic bb guns,,, good out to about 20 yards, and I'm having a ball.
I'm considering one of those paint ball guns so the cat can go home with a big yellow blotch on its side :-)