he had found the treasure in its place , abstracted two gold coins and three of the smaller gemstones , and secreting these in a bag tied securely round his neck , had replaced the rest of the treasure and made his way back through the surf , arriving exhausted .