If you leave someone to do something, you go away from them so that they do it on their own. If you leave someone to himself or herself, you go away from them and allow them to be alone.
If you leave someone to do something, you go away from them so that they do it on their own. If you leave someone to himself or herself, you go away from them and allow them to be alone.