There is nothing in the Constitution, or in the War Powers Act that I see, allowing the current party to remain in power. It also does not make sense that a war between Russia and China would provide a reason to do so, even if allowed somewhere in law.