The beach was closed as the near metre-long shark swam by.