I read a science fiction novel from my junior high library, so sometime between 1974-1976 but I don’t know how old it was at the time. It was a coming-of-age story. The point of view character was a boy/young man. He and his group crashed(?)/were stranded on an alien, rocky planet. There are adults with him, but somehow he has to take charge. He encounters another human castaway/refugee, whom he takes to be another boy and who is wary of him. Turns out the other boy is a girl in disguise. They decide to cooperate. Any ideas what book this was?