When this kind of things happen, you should call a lawyer right away. When you are not free to leave, you are under arrest. When you are under arrest, officers should read your Miranda rights. Even if they don't read them, you have the right to counsel.