With pieces of barn falling all around them, Sheriff Andy grabs the wire and sticks his fingers in the plug as Carter pushes the big giant button that will cause the explosion. Andy fries, and there's a huge wave of graviton pulse explosion that makes both man and robot go flying backwards. They land on their backs. Carter is fine, if slightly sore, while Sheriff Andy looks down for the count. But this is how it had to be, I suppose, to get Carter back. Too bad they made Sheriff Andy so likeable. Carter checks that gravity is back to normal (although what happened to that floating baby doll in the tensor field chamber is anyone's guess) and then, before he can mourn the loss of Sheriff Andy, Andy turns back on! He's fine after all, and Carter will still get his job back because the first words out of Andy's mouth (after "oooouucch") are "I don't like this job."
Later, Carter and Zoe are on their way to Café Diem for their going-away party. Carter isn't looking forward to it, so he wastes some time by offering to let Zoe stay in town on her own while he moves to Los Angeles. "This town is your home," he says. Yeah, but Zoe will be left alone in a house controlled by SARAH, the psycho robot. Obviously, she's not thrilled with the idea, and says that her home is wherever her father is. With that, Allison emerges and tells the Carters to head in for the party before her hugely pregnant self eats the entire cake. Carter says it's weird that he's getting a huge party for being fired. Lexi and Henry arrive, late to the party like total jerks, and Henry says he has a nice present for Carter: according to the town charter, the DoD must have the mayor's permission to fire a peace officer. And since Henry is the mayor and he doesn't approve of Carter being fired, that means Carter is still sheriff and always has been. "See? I told you you weren't going anywhere," Lexi smirks, as if she had any part in saving her brother's job. Allison is impressed with Henry's reading ability, pointing out that the town charter is 174 volumes long. Henry says he had help from a robot named Andy. Andy waves from down the street.
With that, everyone except Carter and Andy decide it's time for a real party and head into Café Diem. Carter thanks Andy for giving him his job back, and even admits that Andy was a good sheriff. Andy says he might have been, but he still had his limitations and doesn't think this is the job for him. Why can't he be the deputy, like Jo? This had better not be the end of Sheriff Andy. If only SARAH hadn't tried to kill him, he could have hooked up with her. Actually, speaking of SARAH, why didn't she just read the town charter and find that loophole? Wouldn't that have been a lot easier and less dangerous than manipulating freaking gravity?? It makes no sense! Andy hands his badge over to Carter and declines the invitation to the party so he can spend some time alone with his robot thoughts. I hope we see him again.