AGENCY RESIGNATION AND APPOINTMENT AGREEMENT and AMENDMENT AND RESTATEMENT OF CREDIT AGREEMENT