You must stop the Rest APIs prior to uninstalling the Repository Server.
To stop Trillium Rest APIs
Verify that there are no users logged on to Trillium.
Log in to the server as the Trillium application administrator.
Change directories to /Server Path/metabase/bin
Enter the command:
./svr_stop