Sorry for all the questions. What you've said doesn't make sense and I'm left very confused. I've been working on electric bikes for 10 years and never heard of a bike behaving like you describe. I've seen the motor kick and cut out immediately, and I've seen them cut out under load, and I've seen them cut out because of the speed limit, but I've never seen one run then cut out after a short time and stay cut out. I can't think of any process or fault that could make that happen, so I believe that I'm missing something from the story somewhere. It makes me more suspicious when you're relaying second hand info, so please be sure of what you've done and what you say.
Hopefully, starting from the beginning will sort it.
Hopefully, starting from the beginning will sort it.