Taliban militants Friday freed the principal of a high school who was kidnapped four days ago for stopping the rebels recruiting his students, his family said.