Many years ago we had a wonderful German shepherd pup who was always into mischief.
One day we came home and he couldn't get out of the kitchen trash barrel. He was hung up half in and half out and his back legs were scrambling for purchase so he could get away before we caught him. He sure looked sheepish when rescued.