If you still have a green light on your controller, you still have a connection and likely control of the aircraft. If that light turns red, you have lost contact and the aircraft should initiate RTH. What it does at that point is determined by your configuration (RTH, Hover, Land, etc...)
If...