Commodore Perry of the US forced Japan to trade, which led to Japan opening its ports to more trade. MacGregor comments that this time signaled a shift toward greater economic power for Japan.
I would say shame, since the line says "repentance", which means to express that you are sorry for something. You would do this usually if your are ashamed of something you did and want to apologize.