Windows 10 partition disappeared after resizing

The 4th partition got the wrong partition type. It's marked as an HFS+ partition, it should be Microsoft Basic Data though.

  • Boot to Internet Recovery Mode
  • Open Terminal in the menubar > Utilities > Terminal
  • Enter diskutil list and with the disk identifier of the internal disk found there: gpt -r show diskX. Usually it's disk0 - below I assume it's disk0. Use the disk identifier you have found in your environment in the commands below! You also have a CoreStorage volume (e.g. FileVault). Check its disk identifier also. Below I assume it's disk2. If you haven't mounted it (because you didn't unlock it - if it is encrypted), you don't have to unmount it below.
  • Unmount the logical volume and then the internal disk:

    diskutil umountDisk /dev/disk2
    diskutil umountDisk /dev/disk0
    
  • Remove the fourth partition:

    gpt remove -i 4 /dev/disk0 
    
  • Re-add the 4th partition with the same first block and size but with the proper type:

    diskutil umountDisk /dev/disk2
    diskutil umountDisk /dev/disk0
    gpt add -b 133448880 -i 4 -s 356523688 -t EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 /dev/disk0
    
  • Reboot