they find them
Huck told the king that he escaped by swimming across the river and hiding in the woods until he was able to make his way back.
They were running from people and went to jump on the raft
Because Huck says he say "n*ggers" going into his bedroom and he didn't say anything. This is a lie. But the king is angry because he believes that Huck should have been smarter about it.
Huck meets the king and the duke in Chapter 19 of "The Adventures of Huckleberry Finn" by Mark Twain.
the duke and the king
Huck's opinion of the king and duke would agree most with the character of Jim. Huck eventually sees through the king and duke's deceitful actions and realizes that they are not to be trusted. Similarly, Jim is initially skeptical of the king and duke's intentions and sees them for who they truly are.
The doctor dismisses Huck's testimony about the King's authenticity as a Wilkes relative by humorously claiming that Huck must have been confused due to his head injury from a recent fall. He jokes that Huck's fall must have made him see double, leading to his mistaken belief in the King's identity.
the reverend Harvey wilks
Huck posed as a servant boy while the king and duke pretended to be the Duke of Bridgewater and the Dauphin, the long-lost heir to the French throne.
Huck feels sympathetic towards the duke and king when they are tarred and feathered, but he ultimately believes that they deserved this punishment for their deceitful actions. Huck realizes that their behavior caused harm to others and that they had it coming.
Huck helps the king and the duke escape a mob by stealing their raft and leaving them behind. He then lies to a passing steamboat captain, saying that his family is stranded and needs help, which directs the steamboat towards the king and the duke instead. This enables Huck to distance himself from the two frauds.