Using a .22 rifle, from boy scout days, helped remind coons that my back yard was mine.
My buddy had them eating his Koi out of his pond, so he started shooting them this way. The cops came, he showed them the rifle and the round he was using, they told him there was no problem.
Use a shotshell. There is no danger of downrange scatter. Coons get close enough to hit with a stick. I just took his means, and took them out of my 1/2 back yard.
If you allow one to drink water or eat dog or cat food, they will keep coming. Like Bidens border, it will never end.
Here in the vast tundra of NE Georgia, we have coons, skunks, and armadillos. I put out grub control and other products, but they keep coming back.