Connect an Ethernet cable from an Ethernet port on the "main" mesh router to the "O" port on the Time Capsule.
Perform a Hard Reset on the Time Capsule by powering it up for a minute, and then holding the reset button in for 7-8 seconds. Release the reset button and allow a full minute for the Time Capsule to restart to a slow blinking amber light status
Open AirPort Utility on your Mac (Finder > Applications > Utilities > AirPort Utility)
Click on the Other WiFi Devices button
Click on Time Capsule
A window will open with the correct setup for the Time Capsule.
Set up the Time Capsule again to provide a network (which you will not use, since you will be using the mesh Wi-Fi network).