Remove the share by identifying the share-name name. For example:
# zfs set -c share=name=data rpool/data share 'data' was removed.
Remove the share by identifying the share-path name. For example:
# zfs set -c share=path=/data rpool/data share 'data' was removed.