/help on quit
/help /haltdef

Those should give you the information you'll need to prevent the quit message from showing up.