The Doctor and Zoe manage to escape from Ransom and attempt to rescue Jamie from the military prison.