under captain rob 's instructions , a number of seamen had been left on the shore by the boats , with others lurking in the shadows at various locations en route to the houses where the treasure was hidden , guarding the boats and the escape routes and ready to deal with and dispatch any unlucky sailors that might stumble upon their plan and try to stop them .