Yes, that is what you saw more than likely. If it happens every time, then there is a concern. If it happens every once in a great while, it's not usually a problem. SOmetimes, if chams are a little constipated, they need to push a little harder. Well, since the hemipenis is there as well, it comes out as well.
If it doesn't retract right away, then there could be problems as well.