you can take it to a firearms dealer and they can legally deactivate it for you and do the appropriate paperwork.
If you keep it as-is you can catch up to 5 years in staripen for it, but if you dont have a record it's likely to be 6 months or less.
The crime really is getting caught