# Unable to Cancel a Leave

HTML version: [Unable to Cancel a Leave](https://support.gladstonesoftware.cloud/golearn/unable-to-cancel-a-leave)

## Problem
When trying to cancel a leave for a member, the "Cancel Leave" button is greyed out, making it impossible to process the cancellation.

## Root Cause
This happens because the place from the cancelled leave has already been taken by another user for a future session. The class remains full, and another user now occupies the spot, so the leave cannot be cancelled in the standard way.

## Resolution
1. Increase the class size by 1:
   - Edit the class details and set the maximum number of participants one higher than its current value.
2. The "Cancel Leave" button will now become available.
3. Cancel the leave as needed.
4. (Optional) Process a new leave with the correct date, or move the member to the appropriate new class or course as required.
5. Decrease the class size by 1 to return it to the original maximum value.

## Notes
- You will not be able to cancel the leave if the class is full and a new member occupies the spot left by the leave.
- If possible, cancel the leave before another user takes the place, or adjust the class size temporarily as described above.
- Related: [How to Remove a Participant from a Class and Process Refunds in GoLearn](how-to-remove-a-participant-from-a-class-and-process-refunds-in-golearn.md).
