When our oldest dog was a puppy, she figured out how to get out of her crate...no lying. She figured out how to raise up that bar and scootch it over.
Course we didn't know this until we left her for a couple of hours. When we got home, we saw a couple of puffs of stuffing here and there...a trail leading us through the house...each pile of fluff a little bigger than the one before. We followed the trail up the stairs until we found Aubie...in the middle of the pillow she had destroyed.
DH blamed me for not closing the crate properly, but when it happened again, after he
closed the crate, we figured out we had a smart dog. We padlocked the crate after that, then lost the key (forcing us to pull out the bar from the corners each time we needed to get her out). A couple of years later, our son found the key. By that time, she had "forgotten" that she knew how to open it.
So, I hope this makes you feel a bit better. At least your dog was in the crate. Oh, what damage could have been done!