Answer :

As the title suggests, a treasure, but more specifically alluded in the plot, it's the pirates'treasure . However, a treasure is always the symbol to depict the immorality of that age when Stevenson wrote this novel of adventures.