LibraryUnload
unloads all functions that have been loaded from a Wolfram Library, then it unloads the library.
Details

- LibraryUnload unloads all LibraryFunction objects from lib so that they can no longer be used.
- On certain platforms, when all functions from a library have been unloaded, the library can be modified and reloaded.
- LibraryUnload will unload a library that does not follow the Wolfram Library specification.
- When a Wolfram Library is unloaded, an uninitialization function in the library is called.
Examples
Basic Examples (1)Summary of the most common use cases
LibraryFunction objects are generated by LibraryFunctionLoad:

https://wolfram.com/xid/0j0equkzsyfa4x-bitvk0
LibraryFunction objects can be used as Wolfram Language functions:

https://wolfram.com/xid/0j0equkzsyfa4x-dgc9bs


https://wolfram.com/xid/0j0equkzsyfa4x-wrxg1
Now none of the LibraryFunction objects from the library can be used:

https://wolfram.com/xid/0j0equkzsyfa4x-h70ps


Wolfram Research (2010), LibraryUnload, Wolfram Language function, https://reference.wolfram.com/language/ref/LibraryUnload.html.
Text
Wolfram Research (2010), LibraryUnload, Wolfram Language function, https://reference.wolfram.com/language/ref/LibraryUnload.html.
Wolfram Research (2010), LibraryUnload, Wolfram Language function, https://reference.wolfram.com/language/ref/LibraryUnload.html.
CMS
Wolfram Language. 2010. "LibraryUnload." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LibraryUnload.html.
Wolfram Language. 2010. "LibraryUnload." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LibraryUnload.html.
APA
Wolfram Language. (2010). LibraryUnload. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LibraryUnload.html
Wolfram Language. (2010). LibraryUnload. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LibraryUnload.html
BibTeX
@misc{reference.wolfram_2025_libraryunload, author="Wolfram Research", title="{LibraryUnload}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/LibraryUnload.html}", note=[Accessed: 29-March-2025
]}
BibLaTeX
@online{reference.wolfram_2025_libraryunload, organization={Wolfram Research}, title={LibraryUnload}, year={2010}, url={https://reference.wolfram.com/language/ref/LibraryUnload.html}, note=[Accessed: 29-March-2025
]}