The customer owns what the customer pays for.
So you had better make sure it is specified in writing what the customer is paying for.
To give the customer a break on the mold cost you could agree to charge only labor, not materials, with the understanding that you would retain possesion of the mold and keep it intact and usable for a specified period of time. Also agree that this first mold will be a "quick and dirty"; adequate to finish off a few components but not designed for even short term full scale fast production.
This means the customer has the opportunity to get additional parts off the mould but if things do not go ahead you can reclaim any usable materials from the mold.
If the customer does not return with further orders within the specified time you are free to use the mold materials.
If the customer wants to take possesion of the mold the cost of the labor component to make it becomes payable and they may remove what is now fully their property, from your premises.
For the sake of courtesy and security you should have notification periods so that a short while before the 'specified period of time', ends and you are free to use (or destroy), the mold you notify the customer just in case they have forgotten and were planning on placing a big order a day too late.
EDIT: I typed more and slower and overlapped with Romanlini
An open mind is a virtue...so long as all the common sense has not leaked out.