Thats an interesting question.
Licence renewal and Agency with insurer are two different aspects.
As per rules one can renew his licence after 3 years through a insurer, preferably with whom he/she is attached with.
but in your case you might have to obtain a No Objection certificate from the insurer with whom your agency is in dormate/non -operative stage.
hope it helps you