We are not restricted to only using a shifting melody as part of a turnaround at the end of a progression. This type of phrase can also be used to change between chords anywhere in the chord progression. The same rules apply in that you need to establish the first chord with one or two notes from the chord, then shift in a stepwise motion until you establish the second chord.
This turnaround shows simplistically how you could change from a D9 (IV chord) in bar 10 to an A7 (I chord) in bar 11 in a simple progression in the key of A. We’ll pick up the progression in bar 9 and take it through to the end.
You could also use this as a cool lick over D9 in a solo.