What Garry said.
Sounds like you were in High range with Centre Diff Lock (CDL) disengaged. One wheel would probably have been spinning when you tried to drive? (if not then there are auto problems).
If you engaged low range (and CDL) you would probably have been able to drive out (or maybe reverse out).

