When a parent is angry and frustrated with his or her child it is my opinion that he or she should not go near the child especially if you are lacking sleep. You could cause more harm than good to the situation because of your tiredness. These feelings are normal! However, when you feel that strongly about the child or situation, the best bet is to walk out of the child’s room for a few minutes to compose yourself as you calm down. I recommend that you never pick up or shake the child. Stay away from your child if you are feeling that frustrated.
These are my thoughts on this topic after working with both parent and child for many years.
Stay calm when working with your child(ren) to avoid pain and suffering later.