They might know you have a gun but that is not probable cause for a stop.
It is probable cause in a state where you aren’t allowed to have a gun in the car. These states don’t have reciprocity. Even if the stop isn’t legal you’d have to travel back there, hire a lawyer and fight it.