How do I remove "Container disk1" and reclaim space?
Hello everyone, I messed up with the file system of my laptop. For some reasons, which will take a long time to describe and are not necessary, I tried to delete Windows and the space allocated to it by Bootcamp using Disk Utility, but I encountered a problem that in Disk Utility I had a 300GB container that could not be deleted or merged with the main disk. Ironically, I only found out that it was impossible to delete Bootcamp in this way after I encountered the problem. I have tried many methods and manipulations both through Disk Utility and through Recovery Mode, so it seems to me that I need to delete this container using the terminal. Therefore, I ask for your advice or help on how I can delete this container and regain my disk space. I will attach a photo below. If it helps, I have a MBP 2017 15-inch, macOs Ventura 13.7.5
MacBook Pro 15″