Unless I am missing something major?
Pelosi is still there. She may not be 2 heartbeats from the Presidency, but she is actually a really good person and good representative.
The right wing demonized her, and she accepted the role.
As I understand it, she would have to choose to resign, and I do not think that is likely.