The incident took place while the trainee pilot was de-boarding the aircraft with the engine still running, the DGCA said.