Sometimes, for a god of mischief and deceit, Loki wasn't terrible good (or smart) at it.
Thor has sussed out his latest scheme, and Loki has a...brilliant...plan to get away:
(Do you know how much I love that panel??)
Lesson for Loki:
A) When Thor has his back turned, fly away, or transform into something else, or teleport away, or...
B) If you're posing as a pigeon, when someone hurls peanuts at you, EAT THE DAMN PEANUTS!!!