If a driver needs to exit a school bus to ensure all waiting students have boarded, the driver should:

While students are boarding a school bus, if the driver cannot account for a student outside, they should secure the bus, take the key with them, and check around and underneath the bus for the missing student.
DMV Writen Test