Disabling emonhub, releasing serial port

What version of Raspbian/EmonCMS are you running? It is probably the .rclocal that is triggering it.

Yes mask prevents a unit from running until it is unmasked.