capture, disable, and re-enable the currently enabled contrib modules in a drupal site
drush pml --no-core --type=module --status=enabled --pipe > contrib.modules.txt
# then
drush -y dis `cat contrib.modules.txt`
# later
drush -y en `cat contrib.modules.txt`