Mamata Banerjee refused to resign. Then she did. What happened in those hours?

In the Indian Constitution, an outgoing Chief Minister typically resigns following an electoral defeat to allow the new government to be formed.

Mamata Banerjee refused to resign. Then she did. What happened in those hours?
In the Indian Constitution, an outgoing Chief Minister typically resigns following an electoral defeat to allow the new government to be formed.