I realized I had this question at the very end of answering the following:
So I'll just use the example there, wall of light for my example here.
Say wall of light is cast on somebody, they are blinded for 1 minute, but then the caster of wall of light drops their concentration on the spell while their target remains blinded. Can that target then be targeted with dispel magic? The dispel magic spell states:
Choose one creature, object, or magical effect within range. Any spell of 3rd level or lower on the target ends. For each spell of 4th level or higher on the target, make an ability check using your spellcasting ability. The DC equals 10 + the spell's level. On a successful check, the spell ends.
And, to me, there is a magic effect in range: the blinded effect from wall of light but what is unclear to me is whether that counts as "any spell of [X] level or lower". The spell already ended, so what happens in this case?
We already have a similar question:
But I believe the case of haste is a bit exceptional in that its effect only occurs once the spell ends and things like this can occur before the spell ends and then continue afterwards.