he was driven to wander through his palace in an agony of restlessness that would not let him sit or lie down until he would be so overcome with exhaustion he would sleep while he walked , unable to still his body long enough to rest .