Similar to the first iteration of Joy-Cons, hitting a dedicated button will detach the controller. It's not entirely clear ...
However, a video does show off the large button on the back of the new Joy-Cons on the official Nintendo Switch 2 website.