The possession, use, or discharge of a firearm in Yosemite National Park is prohibited, to include pellet and BB guns. Weapons may be transported through the park, provided that they are unloaded, broken down or cased, with ammunition kept separate from the weapon, and securely stored in a car or hotel room.
You may not carry the weapon.
Firearms As of February 22, 2010,
a new federal law allows people who can legally possess firearms under applicable federal, state, and local laws, to legally possess firearms in this park. It is the responsibility of visitors to understand and comply with all applicable state, local, and federal firearms laws before entering this park. As a starting point, visit the California Attorney General's website. Federal law also prohibits firearms in certain facilities in this park; those places are marked with signs at all public entrances.