It appears you created both the VLANs and the SVI (virtual interfaces).
While the no vlan 2no vlan 2 would (and did according to your show vlanshow vlan output) remove the VLAN, it won't remove the SVI (which show up when you show the interfaces with show ip interface briefshow ip interface brief).
To remove the SVI, you need to issue the no interface vlan 2no interface vlan 2 command as well.