Fatigue base Naruto was still swapping hands with fused Momoshiki. So imagine sage mode. Boroshiki still thought it would be wise to team up with code to take down Naruto. Also Let's also not forgot Code using Shikamaru as a hostage for leverage to avoid direct confrontation against Sage Mode Naruto. Then a stronger version of code losing an eye to a weaker version of Sasuke confirms Naruto would've trashed code with limiters, making Sage mode Naruto still an otsutsuki level threat.