(a) If no funds have been expended, the monies shall be returned to the state's general fund support account and endorsing municipality in proportion to each entity's contribution;
(b) If some portion of the funds have been expended, the remaining funds shall be returned to the state and endorsing municipality in proportion to each entity's contribution.