Input: yellow shaft. The axial force of a spring and the axial component of gear force in the spur gear drive (helical teeth) are in balance. An overload condition (represented by the pink slider position) overcomes the spring force to slide the green gear out of engagement.
The animation has a weakness: the spring does not rotate as in reality.