Eh, not really. The real military power behind the restoration was the Satsuma-Choshu Alliance, the Emperor was mostly[1] a convenient figurehead, and many of the Shogun's retainers transitioned smoothly into nobles and bureaucrats in the new system.
https://en.wikipedia.org/wiki/Meiji_oligarchy
[1] It's complicated though, and reams of paper have been written about eg. Hirohito's actual responsibility for WW2.
[0] https://education.nationalgeographic.org/resource/japans-nat... (which should probably be taken as seriously (or not) as the foundation of Rome in 753 BC)
The latter mostly concerns itself with trade treaties, however lopsided, whereas the former also involved a lot more meddling in the culture, the power structure, and the internal structure of the economy.
The current arrangement isn’t imposing on or extracting anything from Japan, just protecting it, mostly for free.
Not that I’m saying this is unfair to America either; it’s mutually beneficial for both nations, which is why everyone has kept this happy arrangement for so long.