Nope having a legal registered gun means that the government knows who you are and will come and get that gun.
I feel like Redd Butler in Gone with the Wind telling the Southerns that a war with the North isn’t going to be an easy fight.
If you really think you will have to fight the government then don’t buy more ammo but know how to make ammo. Don’t use a gun to gain an antitank weapon but know how to make an antitank weapon. Knowledge is a much more important weapon than a rifle.
Why on earth would anyone have a registered gun?