Yeah, the warp core ejection systems always seem to conveniently fail. You would want to dump the entire engineering section and haul ass if you were sitting on an antimatter bomb.
There were also physical backups in case the automated ejection system didn't work. There was always a physical backup to any touch interface that was critical to system operations.