First off, sorry for the loss. Many of us have lost our favorites as well at some time or another.
Secondly, if you were moving the substrate around you could have caused an NH3
spike in the aquarium.
I would run the normal tests on the tank and see what you find. (NH3