Several operations can affect a single weak-root verb: وَقَى → يَقِي → لَمْ يَقِ → قِ.
FormKey operationVisible residue
وَقَىPerfect of final-weak rootWāw, qāf, final alif
يَقِيInitial wāw removedQāf and yāʾ
لَمْ يَقِFinal yāʾ removedQāf and kasrah
قِImperfect prefix removed for commandQāf and short vowel
The visible word and its underlying root must not be confused.