Upon the disbandment of any organization or unit maintaining a fund as above provided, the adjutant general shall at once become custodian or treasurer thereof and shall distribute said funds to such organizations or units as he may determine to be equitably entitled thereto, or, if no organization or unit is so entitled, shall draw a check for the total amount on deposit in favor of the state tre