Learning to Rest