Le professeur était entourée par ses étudiants.

The subject is masculine. It should be entouré

The sentence has been corrected at Tatoeba (“La professeure”). Unfortunately, the correction has not been picked up by Clozemaster.

https://tatoeba.org/eng/sentences/show/772201