It seems the command to remove the NICs from the bond is:
ip link set dev sw1p5 nomaster
where sw1p5 is the name of NIC. Then:
ip link delete bond0
where bond0 is the name of your bond.
Unfortunately, while the commands were successful and removed the slaves and deleted the bond, the bond re-appeared after restarting the network manager service.