(a) Licenses issued under this division remain in effect until they are surrendered, revoked, or suspended. (b) Surrender of a license becomes effective 30 days after receipt of an application to surrender the license or within a shorter period of time that the commissioner may determine, unless a revocation or suspension proceeding is pending when the application is filed or a proceeding to revoke or suspend or to impose conditions upon the surrender is instituted within 30 days after the application is filed. If a proceeding is pending or instituted, surrender of a license becomes effective at the time and upon the conditions that the commissioner determines.