Know that even when the mind is active, your meditation is working. Perhaps even more so.
I call these “industrial” meditations. They work behind the scenes de-fragging the brain, re setting the hard drive, discarding useless connections, freeing up space.