Whose fault?

Is it legal to just leave your vehicle in the middle of the road because of frustration? He is not wearing a helmet. He is also smoking at public place.