RTK GPS Heading problem

Hi everyone
I have a problem about rtk gps yaw, if rtk lost fixed how the copter react, is the compass will be used in the gps based mode?