In addition to their size advantage, humpback whales are also equipped with powerful tails, which they can use to strike their opponents. Humpback whales can also breach, or leap out of the water, which can crush a shark if it is caught beneath them. Sharks, on the other hand, have sharp teeth and powerful jaws, but they are not as well-suited for fighting as humpback whales.
Of course, the outcome of a fight between a humpback whale and a shark would depend on the specific circumstances of the encounter. If the shark is able to catch the humpback whale by surprise, it may be able to kill it. However, in most cases, the humpback whale would be the victor.