Any entered or unentered merchandise (except merchandise entered under section 1557 of this title, but including merchandise entered for transportation in bond or for exportation) which shall remain in a bonded warehouse pursuant to section 1490 of this title for 6 months from the date of importation thereof, without all estimated duties, taxes, fees, interest, storage, or other charges thereon having been paid, shall be considered unclaimed and abandoned to the Government and shall be appraised and sold by the Customs Service at public auction under such regulations as the Secretary of the Treasury shall prescribe. All gunpowder and other explosive substances and merchandise liable to depreciation in value by damage, leakage, or other cause to such extent that the proceeds of sale thereof may be insufficient to pay the duties, taxes, fees, interest, storage, and other charges, if permitted to remain in  pursuant to section 1490 of this title in a bonded warehouse for 6 months, may be sold forthwith, under such regulations as the Secretary of the Treasury may prescribe. Merchandise subject to sale hereunder or under section 1559 of this title may be entered or withdrawn for consumption at any time prior to such sale upon payment of all duties, taxes, fees, interest, storage, and other charges, and expenses that may have accrued thereon, but such merchandise after becoming subject to sale may not be exported prior to sale without the payment of such duties, taxes, fees, interest, charges, and expenses nor may it be entered for warehouse. The computation of duties, taxes, interest, and fees for the purposes of this section and sections 1493 and 1559 of this title shall be at the rate or rates applicable at the time the merchandise becomes subject to sale.
If title to any merchandise vests in the United States by operation of subsection (b), such merchandise may be retained by the Customs Service for official use, transferred to any other Federal agency or to any State or local agency, destroyed, or otherwise disposed of in accordance with such regulations as the Secretary shall prescribe. All transfer and storage charges or expenses accruing on retained or transferred merchandise shall be paid by the receiving agency.
Whenever any party, having lost a substantial interest in merchandise by virtue of title vesting in the United States under subsection (b), can establish such title or interest to the satisfaction of the Secretary within 30 days after the day on which title vests in the United States under subsection (b), or can establish to the satisfaction of the Secretary that the party did not receive notice under subsection (b), the Secretary may, upon receipt of a timely and proper petition and upon finding that the facts and circumstances warrant, pay such party out of the Treasury of the United States the amount the Secretary believes the party would have received under section 1493 of this title had the merchandise been sold and a proper claim filed. The decision of the Secretary with respect to any such petition is final and conclusive on all parties.