Since it was raining out, Annie grabbed the book with the beach and wished they could go there.
When they got there, they were captured by pirates and held hostage until they showed the pirates where the treasure was.
The pirates thought Jack knew where it was because of the gold medallion around his neck.
They believed it came from Cap’n Kidd’s treasure.
On the way to find the treasure, Jack and Annie escaped back to the tree house to go home.
As they got to the tree house Jack realized that he forgot the book onshore and the pirates were catching up to them.
Jack hurried back to grab the book and they arrived home