Swimmers were ordered out of the water at Cottesloe beach on Wednesday after a shark was spotted circling inside the shark net.