(1) Within 90 days after the termination of any agreement with a
school under section
297a of this title or the termination in any other manner of a schools participation in the loan program under this part,
such
school shall pay to the Secretary from the balance of the loan fund of such
school established under section
297a of this title, an amount which bears the same ratio to the balance in such fund on the date of such termination as the total amount of the Federal capital contributions to such fund by the Secretary pursuant to section
297a (b)(2)(A) of this title bears to the total amount in such fund on such date derived from such Federal capital contributions and from funds deposited in the fund pursuant to section
297a (b)(2)(B) of this title. The remainder of such balance shall be paid to the
school.
(2) A
school to which paragraph (1) applies shall pay to the Secretary after the date on which payment is made under such paragraph and not less than quarterly, the same proportionate share of amounts received by the
school after the date of termination referred to in paragraph (1) in payment of principal or interest on loans made from the loan fund as was determined for the Secretary under such paragraph.