how to exit bash in container

C++
exit
Source

Also in C++: