At the end of Sonic Adventure 2: Battle, Shadow was rescued by one of Dr. Robotnik's robots and placed in a stasis pod to recover while the Doctor created androids modeled after him. The fall—or possibly the machine itself—left Shadow with amnesia, so when he finally reawakened, he had lost his memories.