So, I removed anything and everything that she should not eat or get into and let her have at it. This is what she did:
She took every trash bag and every sandwich bag out of their boxes. I didn't mind her making that kind of mess - easy to clean kind of mess. In fact I just sat back and watched her do it. Then she crawled inside the pantry and got stuck. She couldn't get her head back out from under the shelf. I think she finally had her fill of the pantry.