Fortunately, their hard work paid off.
"As you can see from the pictures, the snake was really stuck on the trap and was extremely happy once he was freed by these diligent Animal Control Officers," the Portsmouth Police Department wrote in a post online. "The snake was then returned to the outdoors today."
While it might have seemed a thankless job, before being released, the snake found a way to show his gratitude for all the officers had done. He gave them the happiest little grin.