In the exciting adventure novel Treasure Island by Robert Louis Stevenson , the stockade that the ship's crew finds on the island is first occupied by Squire Trelawney, Doctor Livesey, Captain Smollett, Jim Hawkins, and the rest of the loyal sailors. The pirates on the ship attempt to bombard the...
stockade with cannon fire but do not succeed.
The onslaught of the pirates against the stockade begins with traitorous Long John Silver approaching the stockade under a flag of truce. He promises that the pirates will leave the ship's crew unharmed if only they will give him the treasure map. Smollett refuses, and soon afterwards, the attack begins. At first, the crew and the pirates exchange gunshots, and then when some pirates manage to climb over the fence, the two sides fight with cutlasses.
The ultimate outcome of this battle is that the pirates are repelled and Smollett and his crew are able to retain the stockade. Of the loyal men, crewman Joyce is killed, and Captain Smollett and crewman Hunter are wounded. They manage to kill five of the pirates, decreasing the odds that they are up against.
"Five!" cried the captain. "Come, that's better. Five against three leaves us four to nine. That's better odds than we had at starting. We were seven to nineteen then, or thought we were, and that's as bad to bear."
Later, as part of a truce, the captain and crew give up the stockade and the map to the pirates without a fight after they discover that the ship, which Jim has beached, is missing.