You may be able to extend your visa (for example, Student visa to continue studies, Skilled Worker if job continues) if you still meet requirements.
GOV.UK
Some visas allow switching to different visa types while inside the UK (e.g. Student → Skilled Worker) if conditions are satisfied.