When a pitcher or position player's stamina falls below the number you specified in the advanced settings, the player is treated as though you had marked him as 'rest'. When his stamina goes back above that number, he's again treated according to the role you set for him.
NOTE: Auto-rest only refers to stamina percentages AFTER the game is complete - NOT during the game.