thing to do?
You’re acting like she did something selfish - her benefit; their loss.
But the way I’m seeing it described, it’s the opposite. She recognized that she was going to hurt the team, so she moved out of their way.
That’s the right thing to do.