Ok not fur baby but...

Ho

My hermit crab is molting above ground and I picked him up and dug a tiny hole and put him in the hole with some on top of him. I messed up, I don’t know what to do now and is it positive he will die