When the feature is on, bot will automatically teleport back to town and recover the stamina. For example, the stamina is able to recover till yellow. The character will teleport back to town and recover the stamina from white to yellow. If there are not stamina to recover (max stamina is white), then the character will only take recovery action while is out of the stamina.
Bot will decide when to get back to farming according to current stamina.