Hardpoint does already tell the ship (see onRemoval), thus when your yellow voxels are gone you're not shooting anymore :)