Cannot recover space after deleting Windows partition in bootcamp First I used Disk Utility to create a 100GB partition for sharing data between OSes, I then used Bootcamp Assistant to create a Windows partition to install Windows.
Later, when I removed the Windows partition again through Bootcamp assistant, it hasn't restored the space back to my original Hard disk.
Below is how my disks appears on Disk Utility, I'm not sure what is going on with it.
Does anyone know how I can recover the space?
Your disk has an APFS container, followed by a ‘Microsoft Basic Data’ partition called ‘datashare’, then free space. You can't join non-contiguous partitions.
Either delete the partition named 'datashare', or create a new separate partition in the free space.
You can perform these operations by choosing Partition from the toolbar in Disk Utility.