You can leave beta but it isn't straight forward.
This is why we keep telling people on here that Beta is not a way to get software early. It is test software and should only be used if you intend to feedback on issues and most on here say don't do it on your main phone if you "need it".
I am not employed by Samsung nor do I receive any remuneration as a Samsung Members Star.
My device is an S25 Ultra.