In the Autopilot setup menu, CWS can be set to "Hold Heading / Altitude". When holding the disengage button for more than 2 seconds, the autopilot is then supposed to hold the current heading and altitude when the button is released.
I tested this today and it appears that this only is the case...