Tottenham exited the Europa League despite staging a second-half fightback against Benfica that put them close to taking the tie to extra time.
Ezequiel Garay headed in to put the hosts 4-1 up on aggregate.
But with the tie seemingly over, Nacer Chadli scored twice in a minute.
Spurs almost grabbed another as Gylfi Sigurdsson's injury-time header was saved, but Benfica made it 2-2 on the night and 5-3 overall when Lima scored from the penalty spot.
Brilliant Benfica
Tottenham were within seconds of becoming the first side to beat Benfica since Olympiakos's Champions League victory on 5 November 2013
Having been outclassed in the first leg of the last-16 tie and looking weary in Lisbon, Tottenham's late surge almost inflicted Benfica's first defeat in 23 games in all competitions.
But Sandro's barge on Lima gifted the hosts a chance to level the scores and the Brazilian substitute sent Brad Friedel the wrong way with the last kick of the game.
Despite the aggregate defeat, Tottenham at least showed the character that boss Tim Sherwood desired prior to kick-off.
With late chances for Sigurdsson and substitute Harry Kane, who also had a penalty appeal turned down, Spurs could have taken victory but they will look back on their 3-1 first-leg defeat as the reason for their exit.
The fact they salvaged a draw with an injury-hit squad against last season's runners-up will be pleasing for Sherwood, who saw his team end a run of three successive defeats.
Benfica survive a late Harry Kane penalty appeal which would have taken the tie to extra time
Spurs are fifth in the Premier League, on course to qualify for next season's Europa League, but it remains to be seen if Sherwood will be at White Hart Lane after the club was strongly linked with Louis van Gaal.
Sherwood has publicly criticised his players in recent weeks and he called for leadership from his side, who were without a recognised centre-back - midfielder Sandro and full-back Ezekiel Fryers deputising in the heart of the defence.
But they began slowly and, after Roberto Soldado scuffed a shot at the back post and then fired over from close range, Garay's first-half goal put a technically superior Benfica in control.
Sherwood decided to watch from the stands after his fall-out with Benfica manager Jorge Jesus in the first leg. He was still infuriated after his side wasted a good free-kick opportunity a minute before the opener, with captain Aaron Lennon making a feeble challenge on Eduardo Salvio, who chipped a cross to team-mate Garay.
In the first half, there were signs of promise from a young Spurs side on the counter attack and Andros Townsend shot wide in one decent opportunity after the break.
Then, with 12 minutes left, Chadli cut in from the right before firing a shot past Benfica keeper Jan Oblak.
A minute later, the Belgian winger pounced on Kane's header from Lennon's cross to put Spurs within reach of extra time.
Three excellent chances followed but Oblak made two good stops before Lima equalised for the relieved hosts
Latest Stories
-
If I speak there will be fire – Salah on Klopp row
22 mins -
Grieving after divorce is normal, but this particular kind of grief isn’t
26 mins -
10 beautifully unexpected ways husbands proposed to their wives
30 mins -
Reality zone with Vicky Wireko: Painting Ghana purple: Be aware, May is month of mental health awareness
35 mins -
Prof Opoku-Agyemang’s integrity is admirable – Inusah Fuseini
49 mins -
Your reign has been a beacon of wisdom – Alan Kyerematen tells Asantehene
50 mins -
Akufo-Addo’s driver wins La Dadekotopon NPP primary
52 mins -
Education Minister must channel resources to rebrand basic public schools into tackling critical needs – Minority
55 mins -
CAFCC: “Dreams need to score early to unsettle Zamalek” – Former Zamalek striker Felix Aboagye
2 hours -
GHS launches mobile app to counter misinformation about vaccines
3 hours -
Election 2024: Care Ghana warns EC of recruiting political actors as Returning Officers
3 hours -
Mohammed Kudus gets 5th Premier League assist as West Ham hold Liverpool
3 hours -
Religious support source of my success – Asantehene
3 hours -
Sierra Leone energy minister resigns over electricity crisis, as power returns to capital
3 hours -
EC accuses Bright Simons, IMANI Africa of peddling falsehood
3 hours