Answer:
Imjin War
Explanation
The Japanese military suffered a great defeat against the Joseon Dynasty (Korea) mainly due to its naval defeats against the Korean Navy, most specifically Admiral Yi Sun-Shin, crippling their supply lines, and gave the Koreans to counter-attack the Japanese along with the Chinese of the Ming Dynasty. After's Toyotomi Hideyoshi's death, Japanese ambassadors starts to negotiate peace talks with the Koreans and the Chinese but they have declined and fought the last battle of Noryang, ending the Imjin War.