The Doctor, Jamie and Zoe are held prisoner by the space pirates while Caven comes up with a plan to throw suspicion onto Clancey.