He's probably stir crazy from being holed up for awhile
Can you give him a job? Perhaps a kong, or toy that requires thinking? Or watching for squirrels, or something? When you need to work, you can tell him "to go to work" and then tell him what a good boy he is when he works
Crazy, perhaps, but it really helped my whiney boy, long ago. He was so proud of his job and the "good job" he did protecting the yard.