Now, it should be your first task to successfully pass the thesis defense. Since your own topic was rejected by the teacher, I think you should focus on the topic given by the teacher now. I think the teacher will let you pass for the following reasons: First, as far as the topic is concerned, since the teacher chose it for you, at least the topic chosen by the teacher is good. To say the least, even if you don't know such a topic, the teacher has the ability to guide you and let you pass the thesis defense, which shows that you have complete confidence in technology. Second, whether the teacher will let you pass depends largely on the cooperative relationship between you and the teacher, and it is entirely possible from your current situation. The reasons are as follows: The teacher's most angry reason at present may be that you don't approve the topic he chose for you (if this happens, everyone will be unhappy), so what you need to do now is to show full support and approval for the teacher's decision when communicating with the teacher, so that you can establish a trust relationship with the teacher (which is very important). Secondly, you should carefully ask the teacher questions you don't understand, read books by yourself and put forward some ideas, but generally you should follow the teacher's ideas. At present, most teachers in China like you to have academic exchanges with him, and even you put forward some opinions different from theirs, but the final discussion results must agree with their opinions, and it is not appropriate to ask some simple and obviously wrong questions during the discussion. Most teachers like to show the completeness and correctness of their knowledge in communication, and teachers also like more obedient students, so their attitude must be good. Bottom line: As long as you cooperate well with the teacher, he will certainly let you pass. It is also possible that the teacher was just angry at the time. After all, he is his own student, so it won't be too difficult. Don't worry.
The premise of the above answer is that you only want to pass the thesis defense. If you really want to do your own research, it is not recommended that you adopt the above suggestions.