The MOSFET is turning off exactly when you tell it to and with great speed, so according to post #1 there is no problem there. To make the output voltage look better, add a resistor from the opamp output pin to the -5 V. The value can be what is required to sink 10% of the opamp's output current, leaving 90% to charge up the FET.
ak
ak





