Basically you can’t delete a shape.
There might be a trick to it but I really wish commands behaved more consistently.