Not sure what you mean.
If you have your library on external, you can disconnect it when you want, unless you have iTunes actually open with that library. Before you launch iTunes make sure you have the drive mounted first.
You can use multiple libraries, for ex. main lib on external and smaller lib on internal hd. You can choose which one you want to load by pressing Option(alt) key after opening iTunes.