The diver was attempting to free the shark.