Make a few of them walk the plank, and this will stop.
Forget the plank, turn their pirating asses into shark chum and it's game over. Let me be the first Air Force vet to congratulate my Navy brethren on what I'm sure will be a successful pirate elimination mission. I've never uttered these words, but here goes -- GO NAVY!