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/201,xxx miles, DIY timing chain guides complete! M60 Manifold, BDC Throttle Body, Magnaflow Mufflers
BMW '97 M3/2/5 w/96,xxx miles
BMW '09 R1200GS Adventure w/15,XXX(gone.) Smiles