By the way, you did not disobey the officer's instructions. He instructed you to leave the road. You did that immediately. You did not know what emergency condition might require the officer to make an instruction directly contrary to the law, but you immediately obeyed. Then, after waiting a reasonable time for any emergency situation to clear, you continued on your way in conformance with all applicable laws.