Having recalled those memories, Marya is literally not the same person she was just seconds before. And we feel this as an escalation; suddenly, the person she used to be (beloved, special, cared for) wakes up into this scary new reality. We feel the shock of it. (“I’m a near-peasant teacher in a crummy provincial school? What? Me? Marya?”) but we also feel her joy at being restored to herself, to her real self.