Whenever, in any collection district, the duties on imports can not, in the judgment of the President, be collected in the ordinary way, nor in the manner provided by sections
218 to
220 of this title, by reason of the cause mentioned in section
218 of this title, the President may close the port of entry in that district; and shall in such case give notice thereof by proclamation. And thereupon all right of importation, warehousing, and other privileges incident to ports of entry shall cease and be discontinued at such port so closed until it is opened by the order of the President on the cessation of such obstructions. Every vessel from beyond the United States, or having on board any merchandise liable to duty, which attempts to enter any port which has been closed under this section, shall, with her tackle, apparel, furniture, and cargo, be forfeited.