Rebooting mid-flight

What is expected to happen if the flight controller reboots mid flight?

Looking at the log from this post:

It seems that the mode stayed in RTL after rebooting midflight. Does Arduplane identify that the aircraft is flying when it boots and somehow enters the mode it was in before it rebooted? I would expect it to think it is on the ground and try to initialize the baro, airspeed, imus, etc, and run the start up checks?

Thanks