to remove sb / sth from somewhere by digging the ground around them or it
dig sb / sth out (of sth)
to remove sb / sth from somewhere by digging the ground around them or it
More than a dozen people were dug out of the avalanche alive.
dig sb / sth out (of sth)
to find sth that has been hidden or forgotten for a long time
I went to the attic and dug out Grandad's medals.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition