In the spring of 1609, Satsuma invaded Ryukyu and captured the strategically important Nakijin Castle. He went there to request a peace negotiation together with Kikuin and Kian, but was rejected and had to return to Shuri. When Satsuma navy approached Naha harbor, he participated in negotiations for the second time but was rejected again. After King Shō Nei's surrender, he was taken to Kagoshima together with the king and a number of high officials by Satsuma troops. The king felt very depressed in the journey, and Yuntanza comforted him several times. He was appointed as a member of "Sanshikan" after Jana Ueekata's execution in 1611. Shimazu Yoshihiro received him, and gave him a "tantō" as a present.