As a general proposition, it is possible for a person from whom things were seized, who may or may not be the accused person, or for the true owner of the thing seized, who may or may not be the accused person, to make an application to the court to have things returned. There is a test they have to meet to do that. I would venture to say, if a person is freshly convicted of a criminal matter where the thing they are applying to have returned to them is the subject matter of that offence, it's very unlikely they would get it back.
Also, with things obtained by the commission of an offence—if they stole the part, for example—they were never the rightful owner of that, so they would have no opportunity to get it back. If they came to possess it through other criminal means, or if it's used in the commission of an offence.... Again, I'm doing my best to be of assistance, but it would very much depend on the circumstances.