Here is how to disable a module directly in the Drupal database
echo "UPDATE system SET status = 0 WHERE name = 'MODULENAME';" | drush sqlc