sounds like your soil was too wet, or just too dry, or just like you said, your pot might have been too small, esp if the plant was 5 1/2 months old.
i bit more info would be helpful to answer your question
were you growing outdoors, or what lights were you using.
and next time use a bigger pot