I'm not sure of the rules in California but many jurisdictions provide for a procedure whereby you can file a motion seeking restoration of property. Contraband is excluded from repossession and if the property still has the potential to be used as evidence a court will not normally order its release.