The fragments contributed from a disabled plugin to configuration files would follow the same fate as in the case of uninstalled plugins.
Plugins can be disabled from the UI (or by
touch $JENKINS_HOME/plugins/$PLUGIN_NAME.jpi.disabled (or
Plugins that are disabled can be re-enabled from the UI (or by removing
*.hpi.disabled) file from the disk.)