Hi, as you can see in the link below, MATLAB trials are free:
https://www.mathworks.com/programs/trials/trial_additional_info.html
If MATLAB is no longer needed, then you can simply allow the trial to expire. If in the future you need MATLAB, then you can contact MathWorks Support for additional information. Since the trial is free, there is no refund associated with it.
Best Answer