His fight has averted catastrophe so far but is far from over.