This one is still an open question — the player asking has no idea what to do next, and no solution was ever posted.
If you're stuck on the same thing, it helps to pin down which yellow bar you mean. Toontown's interface leans on coloured meters for things like Laff and health, and Cog battles use their own on-screen indicators, so "the yellow bar" could point at a few different places.
Telling people exactly where you are — the playground, a Cog building, a specific task from the Toon Hall — will get you a real answer far faster than a general description.