He decided to make as much noise as possible.
He banged on the ceiling of the baggage hold and shouted at the top of his voice.
Luckily, a passenger heard the noise and called a flight attendant, who immediately informed the pilot.
Once the captain understood what was happening, he ordered hot air to be pumped into the hold.