return Exit a shell function