(Needs additional plot from the start of the movie to these concluding scenes.)
Huck tries to trick the sheriff's wife by disguising himself as a girl, but she soon susses out that he's a boy, but she believes him when he says he's a runaway apprentice who's been treated badly. Huck asks for a glass of water, but she offers to get him some lemonade and leaves the room.
While she's gone, Huck grabs the keys on the wall and slips out unnoticed. Huck goes out to the shack to free Jim from his shackles.
The sheriff returns with the Duke and King and a slave chaser with his dogs. They they go out to the shack and discover that Jim is gone so they begin searching for him with the dogs.
Jim is hobbling due to the shackles that have been on his legs. They separate with Jim going towards the river and swimming to safety, while Huck is doubling back with Jim's shirt to fool the dogs with the scent from the shirt.
Huck is caught by the Duke and King who call for the sheriff, but Huck comes up with an ingenious lie about the king and the Duke, telling the sheriff they paid him to free the slave Jim a
while he produces a $20 gold coin. The sheriff believes Huck and arrests the Duke and King as abolitionists, much to their chagrin, and leads them off back to the house by gunpoint.
Huck tells the sheriff he needs to go back to his raft because he's afraid someone will steal it. The sheriff says to hide his raft well and then return to the house for some Huckleberry pie and leaves Huck by the river.
Huck finds a raft and a floats about near the river shore calling out for Jim. Jim comes to Huck and they discuss their future plans. Jim wants to go north, while Huck wants to go south to New Orleans. The movie ends with Jim waving goodbye to huck from the shore as Huck poles his raft toward steamboat going south.