As the thunderstorm matured and moved northward, rain-cooled air rushed out ahead of the thunderstorm.  This dome of dense, cold air acted as a lifting mechanism, and warm, moist inflow ahead of it was lifted up above the cooler air.  As the warm humid air was lifted, the moisture condensed and formed a shelf cloud.