Harald Soleim managed to repel the unwanted intruder with a deafening yell.

"I was sleeping peacefully when I was suddenly wakened by a crash," Soleim told NRK.

The trapper quickly understood what was happening, but was also without his rifle, standard security gear in Svalbard. He had two choices.

"Either a quick, strategic retreat into the living room and shut the door - but since my weapons weren't loaded I decided to let loose a fierce roar instead," Soleim said.

The bear backed out the door, turned and ran.

"I think I really scared him. He had taken a jump of 4.75 meters (15.5 feet), which is pretty good," the trapper said.