The concept of disabling modules (separate to uninstalling them), did exist in Drupal 7, but it was removed in Drupal 8.
You will either need to uninstall the modules, or find a different way to disable the specific behaviours which are causing you problems, via events/hooks/etc.
Okay, searching thru core services found this. We can clear all the library definitions like this.
See Drupal Reference of this method: Reference
Calling this function Clears static and persistent library definition caches.