It’s the first time it prolapsed like this. It went right back in and maybe just a little upset with me flipping him/her around.I honestly can't tell yet. That shape is right in the middle. The tail doesn't look that big, and that doesn't look like a penis in the pic, so this could be a prolapsing female. I know you care for your tortoise very well, and I'm sure they are well hydrated, so I would expect this, but it can happen.
@Markw84 knows this species well too. Let's see what he thinks.