In the wild, a dog was trapped in a railing, barking at attention.