@Graham ******
s well when you stopped studying you were supposed to take the paper from the school to the immigration office and cancel your extension BEFORE you left. ๐ฎ
Just leaving and stamping out doesn't cancel your extension, ๐
When you came back in because you hadn't cancelled it before you left AND because you had a valid single re-entry permit in your passport you were stamped back in on the still valid extension.
so right now because of that you're good to stay until 22 July.