Obviously, you plagiarized unintentionally. You were lucky to escape the punishment because it is often severe. It would be a tough decision to request rewriting your thesis, but such a deed would be an honorable one. You can read about plagiarism cases among UK universities' nursing students and decide if you have to do something about it. https://plagiarismsearch.com/blog/plagiarism-cases-in-college.html