As Link continued toward the ruins, he'd see JD walking back up, carrying what looked like some fancy piece of technology and a sword. Link would easily be able to identify it as the Master Sword. JD gave him a lazy wave as if he gave zero fucks about being left behind.