Good afternoon and thank you for posting on the Final Fantasy XIV Technical Support Forums.

Final Fantasy XIV will use the default audio device to play sound. When you remove the headphones, you are removing the default audio device and the game can crash as a result of this. We recommend logging out of the game in order to switch audio devices.

We hope we can be of assistance in helping you enjoy the exciting world of Final Fantasy XIV!