The book has a completely different ending. There are no problems with the getaway, and they successfully get the gold back to England, and take it to Mr. Bridger, who tells them, "Now go and take it back to where you got it from!"