Yes that's right, the police deployed the gun back under the hood. Another question is how Columbo dares to fiddle with the dummie and the same time asks the murderer to unlock the car when he knows that the gun will fire.