Dems are the ones doing that so, of course she needed to as well.
How did she ignore her oath? Donald Trump attempted an insurrection. She swore to defend the country against all enemies, foreign and domestic. Donald Trump is objectively an enemy of the country.