Game froze while rebinding my controls midgame

Has this happened to anyone else? It just froze on the rebind and wouldn’t let me exit, but the game was still going on in the background.