ahh of course, thanks. Here it is:
-bash-3.2# diskutil unmountDisk disk0
Unmount of all volumes on disk0 was successful
-bash-3.2# gpt remove -i 2
usage: gpt remove -a device ...
gpt remove [-b lba] [-i index] [-s lba] [-t uuid] device ...
-bash-3.2# gpt remove -i 3
usage: gpt remove -a device ...
gpt remove [-b lba] [-i index] [-s lba] [-t uuid] device ...
-bash-3.2# gpt add -i 2 -b 409640 -s 714551256-t apfs /dev/disk0
usage: gpt add [-b lba] [-i index] [-s lba] [-t uuid] device ...
-bash-3.2# diskutil unmountDisk disk0
Unmount of all volumes on disk0 was successful
-bash-3.2# gpt add -i 3 -b 714960896 -s 222740473 -t
gpt: option requires an argument -- t
usage: gpt add [-b lba] [-i index] [-s lba] [-t uuid] device ...
-bash-3.2# windows /dev/disk0
-bash: windows: command not found
-bash-3.2# gpt add -i 3 -b 714960896 -s 222740473 -t windows /dev/disk0
gpt add: /dev/disk0: Suspicious MBR at sector 0
gpt add: /dev/disk0: error: entry at index 3 is not free
-bash-3.2# gpt -vv -r show /dev/disk0
gpt show: /dev/disk0: mediasize=480103981056; sectorsize=512; blocks=937703088
gpt show: /dev/disk0: Suspicious MBR at sector 0
gpt show: /dev/disk0: Pri GPT at sector 1
gpt show: /dev/disk0: Sec GPT at sector 937703087
start size index contents
0 1 MBR
1 1 Pri GPT header
2 32 Pri GPT table
34 6
40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
409640 800575448 2 GPT part - 7C3457EF-0000-11AA-AA11-00306543ECAC
800985088 136716288 3 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
937701376 1679
937703055 32 Sec GPT table
937703087 1 Sec GPT header
-bash-3.2#