John told the BBC's Karen Allen that the crew shut down the ship's power before fanning out across the ship and hiding in different places.
"We were in our room, it was totally black, no power, everything was secure, no power, no ventilation, nothing," he said. "The temperature was so hot if you stood up, you'd pass out.
"I tried fanning, and when I stopped fanning I got so hot I almost passed out, and I ended up just laying on the deck without moving a muscle, and that way I was able to stay conscious.
"We could hear everything, we could hear them walking around, we could hear gunshots, them threatening to kill the captain. You'd be surprised how much sound travels on a ship with no power."
'Wipe them out'
John added that Capt Phillips - who is reported to be currently aboard a navy vessel at an undisclosed location - had "got the guts for all of us".
Capt Richard Phillips has been hailed as a hero
The crew celebrated their skipper's freedom with a barbecue on Monday evening in Mombasa.
Foreign navies have been patrolling the region in an effort to catch pirates but John said a joint force should "go after them and wipe them out on land".
Capt Phillips was held hostage in an enclosed lifeboat for five days by the pirates.
He was freed after US Navy Seals opened fire on the gang on Sunday night, killing three outright.
A fourth pirate, who was on board another US vessel trying to negotiate a ransom, is in US custody.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.
Bookmark with:
What are these?