It randomly stopped without completing - is there some kind of timeout?
Might be a bug, anything in the console?
(I'm not the author of chessboardjs, just stumbled over it)
The game may have become a draw due to insufficient material, e.g., K-KB, K-KN, and of course K-K. Chess also has a 50-move rule that results in a draw.