It was not without opposition that the Shôgun's government had entered into its first engagements with the United States, Great Britain and Russia. An agitation arose when the first American ships anchored in the Bay of Yedo, and there were not wanting bold and rash men ready to undertake any desperate enterprise against the foreign invaders of the sacred soil of Japan. But at this time there was no leader to whom the malcontents could turn for guidance. The Mikado was closely watched by the Shôgun's resident at Kiôto, and the _daimiôs_ were divided among themselves. The principal opponent was the ex-Prince of Mito, whose constitutional duty was to support the Shôgun and aid him with his counsels in all great national crises.
During the presence of Commodore Perry the reigning Shôgun Iyéyoshi had fallen ill, and he died not long after the squadron had sailed. He was succeeded by his son Iyésada, a man of 28, who does not seem to have been endowed with either force of character or knowledge of the world. Such qualities are not to be expected from the kind of education which fell to the lot of Japanese princes in those days.
In view of the expected return of the American ships in the following year, forts were constructed to guard the sea-front of the capital, and the ex-Prince of Mito was summoned from his retirement to take the lead in preparing to resist the encroachments of foreign powers. By a curious coincidence, this nobleman, then forty-nine years of age, was the representative of a family which for years had maintained the theoretical right of the Mikado to exercise the supreme government, and was at the same time strongly opposed to any extension of the limited intercourse with foreign countries then permitted. Nor can it be wondered that Japan, who had so successfully protected herself from foreign aggression by a policy of rigid exclusion, and which had seen the humiliation of China consequent upon disputes with a Western Power arising out of trade questions at the very moment when she was being torn by a civil war which owed its origin to the introduction of new religious beliefs from the West, should have believed that the best means of maintaining peace at home and avoiding an unequal contest with Europe, was to adhere strictly to the traditions of the past two centuries. But when the intrusive foreigners returned in the beginning of the following year, Japan found herself still unprepared to repel them by force. The treaty was therefore signed, interdicting trade, but permitting whalers to obtain supplies in the three harbours of Nagasaki, Hakodaté and Shimoda, and promising friendly treatment to shipwrecked sailors.