After Hidekatsu died from illness in 1585, Nagakatsu became a vassal of Hideyoshi and built Yatsuai-jo Castle in the fiefdom of Kanbayashi in Tanba Province, where he was given 13,000 koku.
天正13年（1585年）に秀勝が病死した後、秀吉の直臣となって丹波上林1万3000石を領し八津合城を築いた。