Under the gold standard, the government could not expand base money if the economy was in trade deficit. It was considered that the gold standard acted as a means to control the money supply and generate price levels in different trading countries which were consistent with trade balance. The domestic economy however was forced to make the adjustments to the trade imbalances.
Monetary policy became captive to the amount of gold that a country possessed (principally derived from trade). Variations in the gold production levels also influenced the price levels of countries.
In practical terms, the adjustments to trade that were necessary to resolve imbalances were slow. In the meantime, deficit nations had to endure domestic recessions and entrenched unemployment. So a gold standard introduces a recessionary bias to economies with the burden always falling on countries with weaker currencies (typically as a consequence of trade deficits). This inflexibility prevented governments from introducing policies that generated the best outcomes for their domestic economies (high employment).