I was messing around with my settings and set my cancel control to "E" which is also the "apply new controls" key so I couldnt change my cancel control to something else anymore because to apply I had to press E which automatically cancelled it and made me exit without saving.
Had to grab a controller and apply the new settings with a button on my controller