It had to spit them out.
I don’t think a humpback whale could swallow a human if it wanted to. There is a reason they go after krill and bait fish.