I forget where I read it, but my understanding is that the secret patent would become public if you try to publicly patent it. I don't know if there would be any compensation for you, but I don't think you'd have to deal with patent infringement.
I bet they don't even refund the patent fees.