Wars stop only if the result is decisive, or both sides reach exhaustion and realise that further military gains involve high costs and minimal returns. But China being wooed to play the peacemaker’s role shows the rise in its influence after Russia’s unwise Ukraine campaign