The board of supervisors shall provide for collection of debts due the city and wind up its affairs. Upon an order by the board of supervisors, the appropriate county officer shall perform any act necessary for winding up the city affairs, with the same effect as if it had been performed by the proper city officer.