it might have been partial prolapse and it got back on it's own, keep an eye on a frog. I would place him in a temporarily hospital set up for a few days, you'll see better how his is doing and how his poop looks like too. feed nightcrawers for now.