The incident happened near Nielsen Park and Shark Beach, a popular swimming spot that has a netted area in Sydney Harbour.