Disabling the trackpad from the command line How can I disable the trackpad (without restarting my computer) from the command-line on OS X Mavericks?
Try to use the following Code

sudo kextunload /System/Library/Extensions/AppleUSBMultitouch.kext/