The judge may at any time cite the assignee to make an account, and shall do so whenever the assignee neglects or refuses to account at any time when he is required so to do by this chapter. The judge may enforce his orders in the premises by attachment as for contempt, and may punish disobedience thereto by fine and imprisonment as in other cases of contempt. Upon complaint of any creditor, and upon good cause shown, he may remove any assignee chosen by the creditors and restore the clerk to the execution of the trust and make all necessary orders in the premises.