Complex sentence: Jerry then marches back joyfully but sees Mammy tapping her foot as if to say she wants him to get out as well.
Split into simpler sentences: Jerry then marches back joyfully but sees Mammy tapping her foot. She does so as if to say she wants him to get out as well.