The problem is that even if you sell it for what you paid for it, or make a small profit, it won't fund an AR or even half of a quality handgun. Not to mention, if you are in a situation financially that you feel you need to sell one gun in order to afford another, you probably can't afford to shoot .223 anyway, or any handgun service cartridge for that matter.
Therefore, IMO, keep it. Shoot a thousand rounds of .22LR through it for about $40, which would have cost you at least $300 in .223 before the panic (now will cost you way more, if you can even find it) and you've already made your money "back" on the 10/22 "investment." Re-evaluate your position at that point.