You can't get it back...it's gone. However, doing all three quest lines will reward you with a second mill that you can upgrade. Hopefully you didn't delete a mill that had been upgraded. You have an outside chance at four upgrades with no diamonds spent but you need to be consistent with your aid and searching for planted apple trees. Good luck