Cup of Shaving Cream Implodes in Vacuum Chamber

We wanted to see what happens to shaving cream in a vacuum chamber. As we hoped, it expanded quite a bit. However, as we let the air back in, the plastic cup rose to the roof of the chamber and formed a seal, causing the cup to implode.