Is there a button you can press when you’ve passed a level but don’t want to continue on and take the gold bars that you earned from winning that level
No I'm afraid there isn't. The idea of Candy Royale is to only give a prize to those who finish all the levels, so it will be a bigger prize shared between fewer people. It's very hard to win at Candy Royale. But that is deliberate, sorry.