I think it just slides right out. You don't have to unplug any of the wiring harness, just gently pull out the DME and set aside. Light brown relay will be underneath.
BMW '00 740il w/212,xxx miles, DIY timing chain guides complete! M60 Manifold, BDC Throttle Body, Performance gearing 3.46 LSD, Magnaflow Mufflers
BMW '97 ///M3/2/5 w/96,xxx miles
BMW '91 ///M5 w/156,XXX Smiles