King Candy's chest is a large, brownish-gold chest featured in Wreck-It Ralph. It was used by King Candy during his takeover of Sugar Rush in 1997. When Turbo entered the game's codes and transformed himself into a figure known as King Candy, he used the chest to lock away the memories of the Sugar Rush inhabitants, making them forget that their ruler was Princess Vanellope von Schweetz. As such, King Candy was able to manipulate the citizens into believing he was their sovereign and that Vanellope was a glitch, and a threat to their game.
The chest is first seen in Sour Bill's flashback, where he reveals King Candy's villainy to Ralph and explains that he (and others native to the game) had their memories locked away by the king, which prevents Sour Bill from remembering why King Candy was so intent on keeping Vanellope from becoming a real racer. Sour Bill nevertheless explains that once Vanellope crosses the finish line in a race, the game will rest, and she'll no longer be a glitch. Ralph and Vanellope team up and defeat King Candy, thus allowing Vanellope the chance to finally cross the finish line. Once she does, her code is restored, and the chest containing the citizens' memories is destroyed, which in turn frees them of their bind.