A rising San Francisco political figure has been sidelined by a sudden health crisis, and insiders say her future in office is now hanging by a thread.