Lost. Aimless. Don’t understand a process or situation. Confused. The phrase depicts being on a boat with no motor or sail, just drifting aimlessly. (Compare to Throw for a loop or Over one’s head.)
“I went to math class for 2 months but I was at sea, I couldn’t figure it out so I quit.”