Behavior of the ponderomotive effect near gyroresonance