yes after you beat the forest temple sheik will get out of the way so you can put the sword back to return as a childyes. you just go back and put the sword back into the stone. this is relevant when you go to the future, get the song of storms, go back and play it in the windmill in kakariko village.
Note, however, that you need to beat the Forest Temple first. Sheik will be blocking the path to the Master Sword pedestal until then, so you're stuck as an adult in the mean time.