def METHOD_NAME(self) -> int:
    sub_menu = self.current_submenu
    option_chosen = print_menu_and_get_desired_option_index(
        sub_menu, default_option_index=EXIT_OPTION, default_str="Back"
    )
    if option_chosen == EXIT_OPTION:
        self.location = TOP_LEVEL
        return TRAVERSING_MENU
    else:
        return option_chosen