Sadly if between the legs could be part of the tripe of the duck. If is the intestine the duck can die after starving. Will be unable to feed itself
Keep it moist but don't try to help the duck to get rid of the shell. If is the yolk can just discard it after some hours.