I've had trouble with a few severe windstorms every few years leaving a few of my trees in tilled positions. My top soil is medium textured sand and my subsoil is coarse sand or pee gravel depending on the location. I don't know if this would work on other soil types.
For trees over about 4", the steps below only work in spots I can get my pickup to. My ATV can handle only smaller trees. I prefer to do this when the ground is saturated with moisture. Most recently, I did a 5" tree yesterday and have a 6" tree to do later today once we get a break from all this rain.
1. I install a 6" long piece of black corrugated plastic tubing, slit lengthwise, on the trunk, just above a branch that is at least 1" in diameter, preferably 6' to 8' up from the base of the tree.
2. Then I take a 20 - 30 foot long rope and tie a loop in the end of it. I put the loop around a groove of the corrugated tube and feed the rope through the loop.
3. I back my pickup truck up along the direction I want to correct the tree to and tie the end of the rope to the hitch of my pickup truck.
4. I drive forward until the rope is snug. Then I creep forward about 4" at a time, giving the tree's roots a few minutes to slip through the sand or pea gravel if they need to and repeat this until the tree is upright.
5. Then I put a pressure treated 2X10 with a vee on one end, that has been cut at 30 degrees angles and covered with a strip of rubber floor mat (from Menards, sold by the foot), and put the vee against the trunk, below the branch that I had I put the corrugated tubing above.
6. I note where the lower end of the board met the ground. I remove the board and use a gravel shovel to dig a small hole for that end. I reinstall the board.
7. I back up my pickup truck a couple feet and untie the rope.
8. I move the truck forward out of the way and pound in a T-post at about 30 degrees from vertical near the end of the rope. I tie the rope to the base of the post.
9. Finally, I come back four years later, remove the materials, and go fix some other tree.
For trees that I cannot get to with my pickup truck, I try to find a large tree, like an oak or old pine, and use a come along to pull on the tree trunk. As a last resort, I use my ATV to correct the tree as far as possible and just install the board.
The most extreme example I have is that a severe windstorm four years ago tipped one of my 20' trees completely onto its side. I used the above pickup truck method to right it and cut off about one-third of the tree's canopy to match how much root I guestimated that it had lost. I took the rope of that one a few days ago.