Dog hates crate and barks constantly
We got a 6 month old Japanese spitz puppy 2 weeks ago. We have been crate training her and it had been going well until 3 days ago. She is typically a quiet dog, and has barked less than once a day since we got her 2 weeks ago. 3 days ago, we started taking her out of the crate more - letting her play / sleep during the day for periods in my husband's office. She now absolutely loathes getting into the crate. We know she is capable of holding her pee/poop through the night (6-7 hours) and she never used to wake up before we did. This morning, she woke us up at 5am barking and whining.
She has peed in her crate 2 evenings in a row when we went for dinner even though she went outside for a potty break 2 hours before. It almost seems like she barks and works herself up into a excited frenzy until she cannot control her bladder and has to pee.
What did we do wrong? How can we reverse the "bad habits" that she's learnt over the last 2 days?