Switching behavior of the magnetic resonance in a monoaxial chiral magnetic crystal CrNb3S6