I liked this episode. I think the shrink let Marshall back to work because her job was done. She made him realise that he felt helpless when Mary got hurt that time. It's up to Marshall to figure out the next step!
Yes, that lady was a bit silly !! But it was a nice sweet ending much to Mary's chagrin !! The paradox was that this could easily be Marshall and Mary
I think it was gruff how Mary brought them together but deep down she knew what she was doing!