This is why I always recommend new beekeepers start out with at least two hives. If the author had another healthy hive, he could have moved a frame of young brood to his queenless hive and they would have raised a new queen on their own.
I have heard that some beekeepers use a trick where they keep a spare empty box somewhere else on their property. If the queen wants to swarm, she'll often decide to move into the empty box. Then the beekeeper gets to keep a hive that would otherwise be gone.
They usually have meetings and education/demo days, or at least would be happy to answer any questions that you have about keeping bees.
I think this is better than reading a book, because there are often special rules or challenges depending on where you live, and these are things that the local beekeepers would know about.