The 12th Precinct and Castle try to stop Nieman and Tyson from claiming Beckett as their next victim. While Tyson captures Castle too, Castle reveals that it was a ploy to draw Tyson into the open where Esposito kills him with a sniper rifle. Using his phone, they track Nieman only to find Beckett escaped and killed her. At the end, Castle's ban is lifted and he is reinstated as Beckett's consultant/partner at the precinct.