But during WW2 Britain didn’t hold elections. Did this turn Britain into an autocracy?
And by the way, you literally can’t hold elections if the aggressor is certain to attack polling stations. The US never had this threat, neither during the Civil War nor during WW2. Not a single US city was ever attacked by an enemy nation.