Following termination of an agency appointment as to property, casualty, or surety insurance, and subject to the terms of any agreement between the insurance producer and the insurer, the insurance producer may continue to service and receive from the insurer commissions or other compensation relative to business written by him the insurance producer during the existence of the appointment, so long as the insurance producer is licensed as an insurance producer.
SDCL 58-30-9