Man held by police over alleged gun offence