You could try deleting the partition through diskpart and then re-creating and formatting if you don't care about the data.
To delete a protected or hidden partition using DiskPart, use the delete partition override command. This forces DiskPart to bypass protection that prevents standard deletion, such as for OEM, recovery, or system-protected partitions.
Steps to Delete a Partition with Override:
1. Open Command Prompt as Administrator.
2. Type diskpart and press Enter.
3. Run list disk to identify the correct disk.
4. Select the disk: select disk X (replace X with the disk number).
5. List partitions: list partition.
6. Select the target partition: select partition Y (replace Y with the partition number).
7. Execute the override: delete partition override.
8. Type exit to close DiskPart.
Warning: This command permanently deletes data. Ensure you?ve backed up any important files. You cannot delete the system, boot, or active paging file partitions using this method.