I did exactly this procedure today. Cancellation of extension of stay and applied for a Covid exemption. Both need to be done at the same day- otherwise every day will count as overstay-500thb.
Best is to ask at your local immigration for the correct way and the templates you will need.