When the order was executed, Cody’s first thoughts were “Was it too much to ask for the order to come through before I gave him back his bloody lightsaber?”, according to the revenge of the sith novelization.
BY THE WAY, I THINK YOU'LL BE NEEDING THIS; COMMANDER CODY; THE TIME HAS COME. EXECUTE ORDER 66; YOU COULDN'T DONE THIS LITERALLY ONE MINUTE AGO, BEFORE I GAVE HIM BACK HIS LIGHTSABER