Depress the button on the seat belt buckle.
If the belt does not fully retract, pull it out and check for kinks or twists. Then make sure it remains untwisted as it retracts.

NOTE If a belt does not fully retract, inspect it for kinks and twists. If it is still not retracting properly, have it inspected at an Authorized Mazda Dealer.
Fastening the Seat Belt
Front Shoulder Belt AdjusterTheft Deterrent System Clearing Freeze Frame Data
1. Connect the M-MDS (IDS) to the DLC–2.
2. After the vehicle is identified, select the following items from the initialization
screen of the IDS.
Select “Body”.
Select "Burglar Service Functions".
3. Then, select the following item from the screen menu. ...
Neutral Switch Removal/Installation [A26 M R]
1. Disconnect the negative battery cable.
2. Disconnect the neutral switch connector.
3. Remove the aerodynamic under cover No.2..
4. Remove the neutral switch with the gasket.
5. Install a new gasket and the neutral switch to the transaxle case.
Tightening torque
29—39 N·m ...
On/Off Solenoid Removal/Installation [Fw6 A EL]
WARNING:
A hot transaxle and ATF can cause severe burns. Turn off the engine and wait
until they are cool.
Always wear protective eye wear when using the air compressor. If the air
compressor is used, any particles of dirt or soiling could spatter and get into
the eyes.
...