It's called an Embargo.
An embargo
embargo
When a government bans trade with other countries it can be called embargo or boycotting, depending on the circumstances. Embargo is when a government bans trade with another country in attempt to isolate it. Boycotting is when trade is ban in order to intimidate or show disapproval and need for change.
Its when one Country makes it illegal to sell products & produce to another Country.This is usually done to put pressure on the Country being boycotted.There is normally some political reason for this.
British
Order that restricks or prohibits (stops) trade with another countrya government prohibiting the movement of merchant ships into or out of its ports or a prohibition by a government on certain or all trades with foreign nations.
Great Brittan by 1807 is was completely banned in the country
trade with Another Country
From 1616-1852 in the period known as Sakoku meaing "locked country, or chained country"
The Embargo Act!
it means when a country asked another country to trade they say it on status
Countries can control other countries through various policies such as economic sanctions, trade restrictions, diplomatic isolation, military intervention, and covert operations. These policies are often used to influence the behavior or actions of the targeted country in line with the interests or objectives of the controlling country. Sanctions and diplomatic pressure are commonly employed methods to exert control without resorting to military force.