If the monobehviour is disabled, they aren’t stopped. That means if the component is disabled not the gameobject. When a script is disabled, Unity will not call its methods on the script such as update and fixed update.
The coroutine should still run if you change it to this;