Unloading is actually impossible. For example, you can delete a package and thus remove its definitions. But other symbol references to this package may still exist.
A typical way to handle this is to load the file, as Vijay Matthew mentioned.
It may be useful that the downloaded file is written in such a way that a reboot is possible.
: