Is there any function exist in peoplecode which stops the processing of whole component?

Thinktime functions will stop further processing of the peoplecode.
DoCancel
DoModal
DoModalComponent
Exec (only when Synchronous)
File attach functions
Prompt
RemoteCall
RevalidatePassword
WinExec(only when Synchronous)

WinMessage and WinMessageBox