With Britain locked in a major war with Napoleon's France, its policy was to block American shipments to France.