Go in the cave with just the crossbow and leave sleeping bags outside and knock it out. If it's in the central cave lock and load because you're going to be shooting a lot of bugs

More Megalosaurus Encountering Tips