Tom's real trouble begins when he and Huck Finn witness a murder committed by Injun Joe. They swear to never tell, and the wrong man, Muff Potter, is accused of the crime. Tom, Huck, and a friend run away to be pirates, but become aware that the whole town is searching for their bodies. Each of the boys make an appearance at their own funerals, where they are greeted with open arms. As Muff Potter's trial begins, Tom is overcome with guilt and testifies against Injun Joe, who quickly flees the courtroom.