Do their best to sign separate peace treaties.
Most likely that won't work and the only way out is a rebellion against Selenia, then negotiate a surrender.
Because quite a few of the waring nations want to destroy Xavax completely.
I think it would be a shame.
They can also hold on, work more closely with their allies and hope for a stalemate.
But if nothing is going to change right now, this has not much of a chance.
Xavax might be able to keep holding on with just Xavax for a while though.