Detaching from a Service Manager
Go Up to Overview of the InterBase Service Components
After you finish your tasks with the services components, you should end the connection with the service manager by setting the Active property to <False>. This calls the Detach method which detaches the service component from the service manager.