There is a massive difference between quitting the race and passing the baton....
The nonstop fraudulent ethics violation charges were costing the her and her state money (money she doesn't have) and taking her away from state business.
Her decision gives the state back a governor and gives her the opportunity to confront her antagonists head on.
For her and her state, it is a Win - Win.