Workers at the Market Basket store in Chelsea said Laura Balm, 26, was spotted hiding items in her bag and fled into a manager's office when she was confronted, WHDH-TV, Boston, reported Thursday.
Balm allegedly threatened the manager with a knife and climbed up into the store's ceiling when she was disarmed.
"I saw a hole where she crawled up. It looked like a little rat chewed through the wall," worker Anthony LaFauci said.
However, Balm's getaway was short-lived when she became stuck inside the ceiling and had to be freed by firefighters.
"She had traveled throughout the whole structure just trying get away. She finally ended up stuck in basically a wall," Chelsea Fire Department Capt. Ed Buckley said. "We had a very hard time. We had to throw ladders throughout the building and go up with flashlights to try to locate her."
Police said Balm was arrested on charges including shoplifting and assault with a deadly weapon.