Many books, movies and animated films (e.g., Peter Pan) feature pirates forcing someone to "walk the plank." In real life,
that never happened. If pirates wanted to get rid of someone, they would simply throw him overboard.
They'd also leave people marooned on a desert island with a single bullet and a half-bottle of rum.