 Petya falls asleep while reading and finds himself in the world described in the book.In the dream, Petya travels by ship, but during sailing, his vessel is attacked by pirates.Together with three captives, the boy fights with them and wins, but at this moment, the pirate ship crashes into the rocks.