Desperate for help, trapped dog freed from gate.