>>22112201It's not a glitch at all since that situation isn't that unlikely, especially since OP is using Uxie, who doesn't learn any sleep inducing move besides Yawn.
Giratina will wake up in 2-3 turns and it will just be like any other time Giratina gets put to sleep. Or any other time it uses shadow force.