Stokes leaves the international arena with the aura of a miracle-worker