Maybe he was trying to get a jump start on trick-or-treating or wanted to show the neighborhood his snazzy Halloween costume. No matter what happened, this story has a happy ending.

Freehold Township police took to its Facebook page to report a small white dog had been found in the area of Woodcrest Drive on Wednesday.

The little pooch was dressed for Halloween as either a shark or a dolphin, an unusual detail that police had hoped would get the pet home sooner rather than later.

"Fortunately, a good Samaritan took the dog in for safekeeping when he saw it walking unattended but sharply dressed. The owner was able to make contact with them soon after," said Detective Sgt. Joseph Winowski.

This could have had a completely different ending. Winowski said pet owners should have a collar with a tag on their animal. Microchips are great but he said most police agencies don't have the ability to read them and have to wait for animal control to respond to see if the pet is chipped.

"In incidents like this, our ability to get pics out on social media often leads to the pet being identified and reunited quickly," he said.

LOOK: Here are the pets banned in each state

Because the regulation of exotic animals is left to states, some organizations, including The Humane Society of the United States, advocate for federal, standardized legislation that would ban owning large cats, bears, primates, and large poisonous snakes as pets.

Read on to see which pets are banned in your home state, as well as across the nation.

More From 94.3 The Point