If you get stuck under gravel or sand, you have to dig, dig, dig as quickly as you can to get out. Hopefully the pile isn't too high.