A man who had been reported missing days before was found buried shoulder-deep in mud, requiring a three-hour process to get him free.