This library isn't being uninstalled. The library is part of a MATLAB Project, and that project closes when you shut down MATLAB.
If you want to have the core library always be available when you run MATLAB, you can do one of the following
1. Have your MATLAB startup file open Contact_Forces_Core.prj when you start MATLAB.
*** OR ***
2. Add these folders to your MATLAB path