Yes that sounds like depression. Try to do thought stopping... when you find yourself doing the what ifs or back to the bad... counter it with a good thought or truth... or try and distract yourself otherwise. Hang in there... floating is ok and safe... I believe you can make it safely to shore in the future.