Leaving a vehicle unattended while running is unlawful in most jurisdictions.
Should the gear o breaks fail, it poses a serious risk to the lies and property of others.
It I also a huge temptation for young people and thieves.