Castle is captured and forced to work with strangers to solve deranged puzzles and mind games, while Beckett and the 12th Precinct must race against time to rescue Castle and catch a killer.