Any nation can always avoid war by surrendering to its enemies.
Sure it can avoid war, but not death or destruction at the hands of its new captors.