During the previous summer, Hillary announced that she would resign the SOS, effective the end of Obama's first term.
That’s true, I’d forgotten about that. So she had nothing to lose by defending Obama, although she probably thought (at that time) that she was still going to get support for her candidacy.