I don’t see a ton of other ways, it seems like anything else would require Ukraine to give up something, which is a pretty hard sell in response to an unprovoked invasion.
(I mean obviously it is Ukraine’s right to decide if they want to, like, sacrifice some territory in exchange for a peace treaty, but they seem to have pretty good morale and Russia didn’t respect their previous agreement not to invade, so it seems like it would be hard to start negotiating).