A problem that occurs during or after a trip does not necessarily need to have a causal connection with that trip. Frequent causes of acute confusion are cerebral malaria, side effects of mefloquine, febrile delirium, acute meningitis. In acute confusion, delirium or psychosis you should:
A summary list of aetiologies follows below.

Delirium can occur in many febrile diseases. Confusion is prominent in typhoid fever, rickettsiosis, cerebral malaria, viral encephalitis (rabies, herpes, Japanese encephalitis, West Nile and other arboviroses), Naegleria fowleri encephalitis (amoebae), acute meningitis and cerebral abscess (tuberculous, pyogenic or amoebiasis). Endocarditis can cause septic cerebral emboli. Cerebritis and cerebellitis with ataxia can occur in Q-fever and also very rarely in Mycoplasma infections.
Syphilitic cerebral gumma, West African trypanosomiasis and cerebral toxoplasmosis cause a subacute to chronic condition. Differentiation from dementia is important. Melarsoprol used in the treatment of African trypanosomiasis can cause an acute reactive encephalitis. Chronic or subacute meningitis due to tuberculosis or cryptococcosis, can occur in AIDS.
Worm infestations of the central nervous system tend to provoke severe symptoms. Infection with Angiostrongylus cantonensis, cysticerci, Echinococcus, Gnatostoma sp, Toxocara sp and ectopic migrations of schistosomes or Paragonimus sp usually cause acute symptoms. The cerebrospinal fluid can contain eosinophils. Schistosoma japonicum especially affects the brain during ectopic migration. S. haematobium and S. mansoni more often cause lesions in the spinal cord, though these findings are not proven.

Mefloquine -in some cases- causes severe side effects, such as confusion, dizziness or acute psychosis.
Individuals who take monoaminoxidase (MAO) inhibitors and experiment with plants that contain substances that can cause interactions with these (e.g. harmin contained in ayahuasca, Banisteropsis caapi) can develop acute confusion and delirium.

Cerebral oedema. In high mountainous areas one should watch out for acute cerebral oedema due to altitude sickness in cases of acute confusion, Cheyne-Stokes respiration, ataxia, disorientation or other neurological problems. Fast administration of oxygen and dexamethasone and immediate evacuation to an area at lower altitude with medical infrastructure is imperative. Acetazolamide (Diamox®) can be used prophylactically with limited efficacy.
It should of course be borne in mind that an already existing cardiovascular disease can worsen the relative hypoxia at high altitude.
A poorly burning stove in an unventilated environment can cause carbon monoxide poisoning (CO-intoxication).
Mefloquine taken for malaria prevention in low-lying areas and continued to be taken in the mountains can result in confusion. The same warning applies for alcohol.

Caisson disease. In acute confusion, stupor, neurological problems or shock occurring after diving, one should consider decompression problems or caisson disease resulting from too rapid ascent to the surface (often occurs in panic situations).
Rupture of the lung with pneumothorax can occur due to rapid ascent to the surface without adequate expiration. For example, the pressure amounts to 3 atmospheres at a depth of 20 metres while on the water surface it is only one atmosphere so that the lungs’ volume would have to increase threefold. The air in the lungs expands as the pressure falls.
Envenomation by certain marine animals can have hyperacute and very serious consequences. The sea wasp [Chironex fleckeri] is a small, translucent, but extremely venomous jellyfish that is found in Australasian seawater. Coneshells [Conus sp] can likewise deliver a highly venomous sting (nerve toxin). The bite of the so called "blue ringed octopus" [Hapalochlaena lunulata and H. maculosa], a name given to two related species of small cephalopods (15 cm) found in the seas between Northern Australia to Japan, is likewise notorious. Acute confusion and stupor are among the clinical symptoms. Irukandji syndrome occurs in North Australia following stings by Carukia barnesi, a small box jellyfish.

