If you are fast enough to destroy a shulker box while it is closing, you will still hear the close sound.
Steps to reproduce:
1. Open shulker box.
2. Close it and immediately destroy it.
3. You will hear the "close" sound even if you destroyed the shulker box.
P.S. If you have Efficiency V diamond pickaxe this bug will still work.