If a police officer is executing a valid search warrant and only looking where items named in that search warrant might be found, he does not have to ignore evidence of other crimes or criminal conduct he comes across in the process.  

For example if  he steps on a dead body as he goes in the front door.  

"Within 24 hours surrender all deadly weapons in the respondent’s custody, control or possession to a law enforcement agency, a gun dealer or a third party who may lawfully possess the deadly weapons;"  and "(5) If a third party claims lawful ownership or right of possession of a deadly weapon surrendered pursuant to this section, the law enforcement agency may return the deadly weapon to the third party"  would imply that her gun can go to her.    It's a little loosey goosey, though.