Yes, you can log out of Cookie Run: Kingdom. To do so, simply go to the Settings menu and select the Logout option. Once you confirm your decision, your account will be logged out and you will be returned to the main screen. Keep in mind that if you're not careful, it's possible to accidentally tap the Logout button instead of something else, so be sure to double-check before proceeding.