Originally,
幕府 referred to the tent headquarters of a Chinese military commander (the
幕 means curtain/tent). The term was borrowed into Japanese as 'bakufu' to describe the shogun's military government, and that usage became the dominant meaning in modern Chinese.