CTRL + DCtrl-D will exit a shell in many cases. It is quicker than typing exit <Enter>Enter. It's still not a single command to terminate everything, but holding CTRLCtrl and hitting DD several times is easier and faster. Not sure how valuable this is for your use case.
Discussed in detail here.