In the Motion Dock, enter Edit layout and double-click Eject’s slot. You can also right-click its slot and choose Module settings. Leave layout mode after closing settings to use Eject again.

All three are off or empty by default. They apply from the next click of Eject. Pack has no settings.

SettingDefaultWhat it does
Keep full lengthOffEjected layers keep their whole length instead of being trimmed to the precomp layer’s in and out points.
Delete unused source compsOffRemoves the precomp from the Project panel once nothing else uses it.
Null name prefixEmptyNames the null <prefix> <precomp>, such as Ctrl Desert. Empty names it after the precomp.

With Keep full length on, a layer can show at times the precomp layer didn’t, so the picture can change outside the precomp layer’s in and out points.

With Delete unused source comps off, the precomp stays in the Project panel after Eject, unused. It’s also kept, whatever the setting, when another comp still uses it.