Break the rock on the far left of the area. Behind it you will find a hole — go in and have a look around.
That passage is the way through to the pirate ship, and it is easy to walk straight past because the entrance is hidden until the rock is out of the way.
Once you are inside, explore properly rather than rushing for the exit; there is usually something worth picking up along the way.