No.
The previous code remains active until a complete new code is entered. Even use of the clear button does not de-activate the previous code until a new one is entered.
There is no (well little) risk that an emergency code could be accidently entered so little point in going via sby.