The Kremlin has banned high-ranking officials from resigning during the war.