The questions everyone asks about pirates and privateers
Here's the question/answer you are looking for
Question of Vinci (03.31.2016): Did pirates also plunder on land? A:
Indeed, pirates did not primarily attack at sea; they also made raids on land.
Pirate Nau repeatedly attacked cities on land. His taking of Maracaibo in 1666 was helped by the filibuster Michel le Basque, then he made the difficult decision of attacking the city of San Pedro. Difficult, because due to constant attacks of the Spanish the city's inhabitants were alert to raids.
Henry Morgan made a huge sensation of capturing Panama in 1671, surely the most impressive land expedition led by buccaneers.