Surface Book is not ejecting tablet

I just replaced my Surface Book keyboard battery, and now the Surface Book is reporting a “Surface Detach Hardware Failure”. I charged the battery for fours hours and the issue went away. I used the Surface Book on battery power and the failure warning came back.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0