What happens to objects brought inside and left inside Mordenkainen’s magnificent mansion when the spell ends?

The intent is that the objects are ejected from the mansion when the spell ends and appear in unoccupied spaces closest to where the door was. This intent will be reflected in future printings of the Player’s Handbook.