He told me what his plan was, and I see in a minute it was worth fifteen of mine for style, and would make Jim just as free a man as mine would.
The duke and the king sell Jim back into slavery, to none other than Tom Sawyer's aunt and uncle, Silas and Sally Phelps. Huck pretends to be Tom, who is on his way to their farm for a visit, and intercepts Tom before he gets there.
Tom comes up with an elaborate plan to save Jim, with many unnecessary steps. When they go through with it, Tom is shot in the leg, and Jim sacrifices his freedom to help Tom. They all return to the house, where Jim is put back in chains.
Tom reveals that Miss Watson died two months ago, and in her will, she wanted Jim to be free, knowing this the whole time. Tom also tells Huck that they found his father's body, and Aunt Sally offers to adopt Huck. However, Huck does not want this and tells them that he is going to set out for the West.