code: public void undeploy(URL url) throws Throwable
     {
        if (url == null)
           throw new IllegalArgumentException("Url is null");
  
        if (!started)
           throw new IllegalStateException("Container not started");
  
        log.debugf("Undeploying: %s", url);
  
        kernel.getMainDeployer().undeploy(url);
     }
docs: Undeploy
  @param url The resource url
  @exception Throwable If an error occurs