Can you access your inventory? If you have the bacon, try seeing if you can use it to get out of the lesson. Or see if the smelling salts will work to get you out.
If that doesn't work, it's possible that you might be able to shift the selection. Are you using a game controller to play the game? And have you already gone through Sasha's Shooting Gallery? In one of Sasha's shooting lessons, you learn how to move the target lock onto different objects (the three lamps that you have to shoot in numerical order).
You should be able to push the button to target Ford Cruller and then, while he's targeted, you can shift the camera until the target selection moves from Ford Cruller to the trash can. Both items will not be selected at the same time.
If this doesn't work, then yes, you've lost two hours of gameplay.
And I'd recommend from now on saving your place in the game often.