In a turn of events, a strict edict known as the Order for the Repelling of Foreign Ships was issued in 1825 following the 1808 Phaeton Incident in which a British ship pillaged food in Nagasaki; by 1837 the Morrison Incident occurred in which an American ship sailing into Uraga was attacked by cannon.
25年には一転して強硬な異国船打払令（文政令）が出され、文化5年（1808年）にはイギリス船が長崎へ上陸して食料を奪うフェートン号事件が起こり、1837年には浦賀に侵入したアメリカ商船に大砲が打たれるモリソン号事件が起こる。