How to replace first alert smoke and carbon monoxide detector

How do you disconnect a hardwired First Alert smoke detector?

The steps are pretty simple:.
Turn off the power..
Give your smoke alarm a twist to loosen it..
Disconnect your smoke alarm from the wiring harness..
Loosen the screws that hold the mounting bracket in place..
Remove the mounting bracket..
Disconnect the old wiring harness from the existing wires..