A black puppy was trapped in a red iron cage and wanted to go out.