I assume you mean that his car could be in the garage and he would be on the outside. If he were on the inside, he could use the emergency release that should be on every automated garage door.
Or parent sees garage door open and decides to close it. Child is inside playing. Testing starts child is stuck.
Take your pick of scenarios. Neither require a car to be inside.