There are buttons on either side of the surface (4 holes up from the keyboard) that if you press in with a paper clip and it will release the keyboard. Then just charge the tablet and you should be good to go. I spent hours on Microsoft's customer service hotline and they wanted to replace the tablet. They definitely did a poor job of documenting this feature! Make sure you check for firmware updates and dirver updates, these may prevent this happening in the future....