Peabody and Sherman travel back to meet Marco Polo, but they all end up as prisoners of Kubla Khan. While trying to escape, they stumble upon the origins of the Great Wall of China, turning their misadventure into a historical discovery. Peabody's cleverness ultimately helps them outwit Khan and secure their freedom.