There are 4 cases of forced attachment shutdown: 1. During server shutdown. 2. During database shutdown (gfix -shut full -force 0). 3. It's deleted from MON$ATTACHMENTS by another attachment. 4. (FB4+) It's closed after idle timeout. Currently ON DISCONNECT triggers are not executed in all of these cases. The first case is OK but in other cases it makes sense to execute triggers.