Disable API Gateway from primary Integration Server instance

I believe for on premise installation it comes in a single installation file. As explained in Tips and Tricks of API Gateway(Tips and Tricks of API Gateway we installed API gateway but facing challenges now to disable it from primary IS instance.

Is there any way to disable the APIGATEWAY from primary instance to avoid the repeated technicauser auth error or do we need to rebuild the entire instance of IS?