The resistor pulls the MOSFET gate up to 12V, turning the MOSFET and the motor on.
When you push/close the button, this will pull the MOSFET gate down strongly, overcoming the pull-up resistor and switching the MOSFET and motor off.
The resistor pulls the MOSFET gate up to 12V, turning the MOSFET and the motor on.
When you push/close the button, this will pull the MOSFET gate down strongly, overcoming the pull-up resistor and switching the MOSFET and motor off.