Yes You can! Professor可以學期中途辭職嗎?
Yes you can.
I would think there would be no any problems if such a nine-months contracted Professor resogns before contract expiration, since the resignation of the nine month position does not really affect any teaching or academic arrangement.