The reappearance of Doug Judy lands Jake in hot water. Terry scrambles to replace Holt’s treasured keepsake. The Nine-Nine gets a new vending machine.