If I go AFK whilst my garden has the focus, I can return to the game and continue picking crops, hoeing, watering and planting whilst still snoozing. I don't return from AFK until I do something that causes my Glitch to move - click the mouse somewhere, or press escape and then an arrow key.