In the Fourth Shinobi World War, his father had been with the Five Kage at the alliance’s headquarters. After the Five Kage had gone to the frontline of the battle due to the severity of the fight, Ino’s father and Shikamaru’s father had taken charge of giving directions to the whole army.
Then, Obito had resurrected the Ten Tails and made it send its explosive Tailed Beast Balls in order to cause chaos amidst the Union’s army. As the killing blow had approached, Shikaku’s last moments were spent thinking and conveying further strategies for the army.
He had been a Shinobi to the very end.