Well, I was at the market at Butler's Orchard yesterday, and all their pumpkin baked goods (made there, not pre-packaged) were sitting out at room temperature. In the grocery store, pumpkin pies made in-house sit out on displays unrefrigerated - probably for days. After just 7 hours, I think you're probably totally fine taking your baked good to work, OP.