rope + yardarm
I cannot believe I had to read 90 posts before getting the correct answer.
Sail for the nearest Somali harbour, moor in plain view of the town, give CNN, NSBC, BBC and all the rest of the MSM vermin time to assemble on the coast line, and then hoist the pirates up one by one.