Andromeda
A Symmetry of Imperfection
S4 E19:
When Rommie becomes too emotional, the ship cuts her access in order to run diagnostics. This leaves the ship vulnerable to a Magog attack.