Looks like you changed the vesting shares amount at the end from 0.0000 to 1000 which basically means that you changed the command to delegate 1000 vests instead of making your delegation 0, which would mean you undelegate.
All you need to do is put it back to zero, like it is in the template (vesting_shares=0.000000%20VESTS), and run the command again and it will undelegate.