Police shoot knife-wielding man at Miami airport as thousands seek to escape Hurricane Irma's wrath The main was trying to gain access to a terminal from the runway.

 -- Amidst the mad dash to leave Miami as Hurricane Irma takes aim at South Florida, the international terminal at Miami International Airport was temporarily closed Thursday night after police shot a knife-wielding man, officials said.

The unidentified man tried to get into Terminal J -- home to airlines including Air Canada, Lufthansa, Aerolineas Argentinas -- from a restricted area on the tarmac, "where the airplanes actually come in," Miami-Dade Police Director Juan Perez said at a press conference.

"One of the sergeants that responded observed a gentleman on the tarmac," Perez said. "The gentleman fled into a room allegedly armed with a knife."

The suspect then attempted to exit the room and get into the terminal through the ceiling, Perez said. Police officers then confronted the man and shot him.

Miami-Dade police tweeted at 10:24 p.m., "Regarding the police involved shooting at @iflymia - there is no further threat or danger to the public at this time. FDLE will investigate."

It is unclear how the man gained access to the restricted area of the tarmac.

The suspect was transported in stable condition to Jackson Memorial Hospital's Ryder Trauma Center to be treated for his injuries.

"We do not believe this is related to a terrorist incident at all but we are not ruling that out because it is early," Perez said.