LOL, that is funny. You made me laugh - and now reply with no sanskrit whatsoever 
Being able to maintain the humerus in that flimsy joint we call a shoulder is challenging. IN fact, based on my observations, most yoga students are not being taught this action and are not finding it on their own. This is even present in many long-time practitioners.
That challenge is exacerbated when there’s a dislocation.
I would not do poses that require weight-bearing by the arms. That means avoiding Wheel (which I think Sunyuting refers to above as Bridge), handstand, headstand, downward facing dog, plank, low plank, baby plank, and any other names my caucasian brethren have tagged on to plank.
I would find and work with a therapeutically trained yoga teacher (assuming this is a methodology you would like to pursue for support of your healing process) and have some sessions to retrain your body in how to secure that joint. It is more difficult post-surgery as there are things to consider and scar tissue to navigate. But it is what it is.
As far as returning to sport - again, from my own personal experience, we have to interprets life’s messages for ourselves in mindful, attentive, introspective ways. It may be that sports you’ve chosen are not ones that you can continue IF you want shoulder integrity (you get to choose). Or you may return to those activities. I had to stop playing basketball and move on to other things as a result of the message I was getting, expressed through my sacroiliac joint.