When someone is held at gunpoint, they are said to be looking down the barrel of a gun.
The man was looking down the barrel as he was held at gun point by the mugger.