I don't know if there's a name for it, but I have seen the same phenomenon happen with hospitalized pets. Many critical patients seemed to pass away shortly after the family arrived to visit/say goodbye.