Keep in mind the following information is my opinion and you should consult an expert in the field.
From my understanding, the only way to remove a cosigners name is either by paying off the loan or have the primary party refinance the loan in their name only. Unless it is a credit card. In this case, you would have to close the account.
I hope this helps!