I doubt she had any faith in surviving, either by making a last stand or by running. And she had seen what happened to people Wanda got her hands on. So she chose the only option that allowed her and her army to escape being decrypted, guaranteed.

Plus I just think it's customary to have a noble or royal character choose suicide when the evil army is overrunning the nation/world.