Alliot made another attempt at F1 with Larrousse in 1993, achieving the best finish of his F1 career, fifth, at the San Marino Grand Prix. The following year, he undertook a testing role with McLaren. This role led to a race at the 1994 Hungarian Grand Prix for the team as a replacement for Mika Häkkinen, while he was suspended. Qualifying 14th, he retired from the race itself. Alliot then replaced Olivier Beretta at Larrousse for the following race, the Belgian Grand Prix. Starting from 19th on the grid, he retired with engine failure and this proved to be his last race in F1. Alliot left Formula One as the driver with the most race starts who had never achieved at least one of a podium finish, a pole position, or a fastest lap.