Delete partition and restore to mac without bootcamp

Solution 1:

To convert a Microsoft partition to free space requires a single command. For example, disk0s3 is a Microsoft partition. To convert to free space, you would need to enter the following command.

sudo diskutil eraseVolume free none disk0s3

Free space can be added to a container, if the free space reside immediately after the container. In your case, if you converted disk0s3 to free space, then you probably would be able add this free space to disk0s2, by entering the command given below.

sudo diskutil apfs resizeContainer disk0s2 0