Se quitó el sombrero cuando me vio.

English Translation

He removed his hat when he saw me.

what the hell is doffed.

It seems that it’s been changed.