فَإِذَا فَرَغْتَ فَانْصَبْ وَإِلَىٰ رَبِّكَ فَارْغَبْ
When you are free, exert yourself, and turn your longing toward your Lord.
Ash-Sharḥ 94:5–6 reassures through repeated assertion, then 94:7–8 issues directions with fanṣab and farghab. The movement is from assurance to action and orientation. The fronted ilā rabbika makes the direction of longing conspicuous.
A full account combines syntax with the end-of-passage transition. Naming the particles alone does not explain why these commands follow the preceding reassurance.