No, see, you're wrong Leon,
the dog was actually thinking!
See, if he pee'd on the soft sandy verge, it would harden up the surface and then allow you traction to reverse the rig out.
Very clever, that dog, leading by example, perhaps you and Alice should have followed suit, you might have got out under your own "steam".....