Magnetic relaxation in coaxial helicity injection