A sheriff to whom a warrant may have been delivered pursuant to the provisions of this article, may be compelled by an order made by the justice issuing it, to return such warrant with his proceedings thereon and pay over moneys in his hands, and to take any necessary steps for the safety of the vessel, pursuant to any order for that purpose. Obedience to such order may be enforced by attachment against the sheriff on the application of any person interested therein.
N.Y. Lien Law § 106