3 verses have
while
in Edition Clear Qur'an by Talal Itani / Al-Anfaal (The Spoils of War)

8:16Anyone who turns his back on them on that Day, except while maneuvering for battle, or to join another group, has incurred wrath from God, and his abode is Hell—what a miserable destination!

8:27O you who believe! Do not betray God and the Messenger, nor betray your trusts, while you know.

8:33But God would not punish them while you are amongst them. And God would not punish them as long as they seek forgiveness.