Kerry produced a strong final quarter to secure a second successive win and see Cavan lose their opening two league games of 2019.
Cavan were set for victory when Kerry were reduce to 14 men. Tom O’Sullivan was black carded in the 59th minute when Kerry trailed by one, with Kerry winning 0-16 to 13 points.
There were eight minutes’ injury time and Kerry assumed control to grab their second win in a week and hand Cavan another agonising defeat.
O’Shea was excellent for Kerry again who also had strong showings from Brian O‘Beaglaoich and Jack Barry.
Cavan played most of the best football in the opening quarter and opened up a 0-6 to 0-2 lead with Ciaran Brady raiding forward to kick two points from the half back line.
Kerry were struggling for any real traction up front as they brought almost every behind the ball at times and relied on frees to keep in touch.
O’Shea picked up from where he left off against Tyrone last weekend and kicked the Kingdom’s first six points of the game from placed balls. By the time the visitors landed their first from play through Paul Geaney on 28 minutes, they had pulled themselves level.
However, Cavan finished strong and kicked the last four points of the half including another fine effort from the impressive Conor Madden to take a 0-11 to 0-7 lead in at the break.
The first 15 minutes of the second half saw just one point scored before Kerry secured the victory with a bright fight back, for their second victory in two games.
Scorers Kerry: S O’Shea 0-12 (9f 1 ’45) P Geaney 0-2, S O’Brien, M Griffin 0-1 each.
Cavan: C Madden 0-4 (1m), M Reilly (2f), C Brady 0-2 each, N Murray, D McVeety, J Brady (1m), R Galligan (1f) 0-1 each