When she leaves to marry her sweetheart, he must raise the doll by himself.
The sentence describes a situation where a woman's departure to marry her sweetheart leaves the man in charge of raising the doll alone.