When my kids became teenagers, I sold off the gun collection cuz they were better at finding things than I was at hiding things, and I could not chance the consequences: 24c, colt woodsman, walther pp .22, 97 winchester,...*sigh*...good kids, and worth it, but still...
I've taken the opposite approach: My three girls are all trained shooters and know where the guns are kept. They're kept locked in a safe at all times when not with me (the guns, that is, not the girls).
I would say that if you cannot, for whatever reason, commit to safe storage when kids are around, selling your guns is exactly the right thing to do.