Memory egg

A memory egg was a device that stored the minds of a spaceship's crew over centuries-long journeys. The Eleventh Doctor and Clara Oswald discovered a malfunctioning memory egg aboard a sunken pirate ship, which had trapped the crew's souls in limbo between life and death. (COMIC: Shipwrecked)