My sand star climbs the glass all the time. For a while it will sit by the top, and then let go and fall back in. Never actually climbed out.
I think it will probably stay in the water. I have seen a lot of them go to the surface. I doubt it really wants to be out of the water any more than you want it to be...