Can anyone cite the law that states that keeping an unloaded long-gun in the trunk of a car is illegal.
They can't, because there is none.
OP, also bear in mind any local ordinances. Baltimore, Rockville, and Leonardtown are the three cities in Maryland that have casing ordinances. while the penalties may not be heavy, you will still lose your gun.