Exercises are useful with frozen shoulders to prevent further loss of range of movement and to strengthen any muscles which have become weak around the shoulder and shoulder blade secondary to the loss of function in the affected arm.
If you have a steroid injection or hydrodilatation injection as treatment for a frozen shoulder exercises are extremely important in the weeks following this to help regain range of movement, function and power and to maximise the effectiveness of the injection.