Martin draws a map showing where the time machine was left. He and Tim escape from jail but are assaulted by the riverboat thieves, who take the map believing it to be a map to a gold mine. Loralee finds Martin and Tim and takes them to her wagon. They join her as guides, but she is kidnapped by the thieves, who hold her as hostage. Using Martin's powers they rescue Loralee, but the three are then captured by Indians, as is Brennan. Martin, posing as a Witch Doctor, effects their escape, but Brennan enlists the aid of the cavalry to recover his escaped prisoners, Martin and Tim. Just as the Indians are descending on them from one side and the cavalry from the other, Martin reaches the time machine and returns Tim and himself to the present.