She realized she couldn't leave while he was still in office.
But she would also realize that she couldn't leave him while he was in the White House, in part because her tenure is co-terminal with his.