At least with a croc if you can grab the snout you can keep it from opening pretty easily - but it will want to twist away and it does have claws.
Beyond poking it in the eye or anus, or gonads if you could somehow not be trampled, not sure what you could do to an elephant barehanded.
I do...