Yes, it's possible when you opened the DLL with dll_open(). Use then the FreeLibrary() Windows API function with the DLL handle.