You can block all Public Shares by using DLP Rules.
Admin Portal -> Smart DLP -> Create New Rule
This will remove all existing public shares once Cron runs, if you'd like it to run immediately navigate to Admin Portal -> Settings -> Misc -> Scheduled Tasks -> Run