When your Mac is stuck on setting up your Mac, it means the Setup Assistant is not able to quit, even though the setting process is completed. In this case, you can try to restart your Mac, and check if the problem is solved.