Correct but its a fine line between unintentional and unaware of a potential threat.
Now the recovery of the 'upset' can be done in less drastic or different manner than the nose high actions as laid sown.For example if AP engaged,command increase of speed which will command the AP to reduce pitch.
If you approach a stall unintentionally,i hope you would recover as well