For the uninitiated - just be aware that too much lateral pressure on the sail, either because the sail is sheeted in too hard (making it flat to the wind) or because the wind is too strong,
WILL make these boats heel as Roadie illustrates to perfection in his first photo.
That said, if you release the sheet (i.e. the rope that you can see in the photo that pulls the back corner of the sail out and up into the direction the wind is coming from) the pressure in the sail will reduce and the boat will spring back to a more upright position almost instantaneously.
In other words a correctly trimmed sail in wind that is not too strong for the boat should not induce a complete capsize and a situation in which a capsize is developing can be overcome by timely trimming of the sail.
On the other hand, if you overcook it (as Roadie is about to do in the photo) you will be heading for the early bath being demonstrated in Photo 3.
Please also note carefully the qualification term 'almost' in relation to the instantaneous nature of the righting of the boat upon releasing the sheet. The effect is
almost instantaneous not instantaneous and if you hang on for a fraction of a second too long you may find yourself sliding inexorably over the gunwale and into aforementioned bath.
Roadie is also leaning to counter the heeling of the boat, but not as much as he could be - these boats are very small and the weight of the sailor can be shifted and has a big effect when it comes to countering wind-induced heeling.
Learning how your boat reacts to the wind, how to trim the sail for different wind speeds and directions, and becoming familiar (but hopefully not too familiar) with the limits of what you and your boat are capable of under various conditions of wind and wave are the essence of what sailing small craft is about and what has made sailing an interesting, challenging and engaging activity since the first amoeba set sail over the primordial swamp.
And there is no sailing boat that is more interesting, challenging and engaging than these Hobie MD kayaks in my experience.