Walking by a shoolbus is perfectly legal. Just give it plenty of room before getting back onto the bike so there's no question that you were walking - not riding - the whole way past. The driver will be watching and they love to report people who illegally pass.